From fe891d581dfece13b42414ba1d8fec6063290a31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20M=C3=BCller?= Date: Sun, 3 May 2020 15:25:52 +0200 Subject: Audaspace: update from upstream - Changing API for time values from float to double for better precision. - Fixing minor mistakes in the documentation. - Fixing minor unnecessary large memory allocation. --- extern/audaspace/include/fx/Delay.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extern/audaspace/include/fx/Delay.h') diff --git a/extern/audaspace/include/fx/Delay.h b/extern/audaspace/include/fx/Delay.h index d6ab93ca351..d8730802c6f 100644 --- a/extern/audaspace/include/fx/Delay.h +++ b/extern/audaspace/include/fx/Delay.h @@ -35,7 +35,7 @@ private: /** * The delay in samples. */ - const float m_delay; + const double m_delay; // delete copy constructor and operator= Delay(const Delay&) = delete; @@ -47,12 +47,12 @@ public: * \param sound The input sound. * \param delay The desired delay in seconds. */ - Delay(std::shared_ptr sound, float delay = 0); + Delay(std::shared_ptr sound, double delay = 0); /** * Returns the delay in seconds. */ - float getDelay() const; + double getDelay() const; virtual std::shared_ptr createReader(); }; -- cgit v1.2.3