Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Mueller <nexyon@gmail.com>2010-03-20 14:50:27 +0300
committerJoerg Mueller <nexyon@gmail.com>2010-03-20 14:50:27 +0300
commitca3736c123aff2bb01f3231687a807952cdca4af (patch)
treebf769160a78e3b8323a7cf9050b119df905bfe98 /intern/audaspace
parent1e2be7a8c6e32589be706da407f75cddf879c077 (diff)
Fix for [#21639] Playback with AV-sync and None sound system.
Diffstat (limited to 'intern/audaspace')
-rw-r--r--intern/audaspace/intern/AUD_NULLDevice.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/audaspace/intern/AUD_NULLDevice.cpp b/intern/audaspace/intern/AUD_NULLDevice.cpp
index 3936695c28f..83d908afa43 100644
--- a/intern/audaspace/intern/AUD_NULLDevice.cpp
+++ b/intern/audaspace/intern/AUD_NULLDevice.cpp
@@ -23,6 +23,8 @@
* ***** END LGPL LICENSE BLOCK *****
*/
+#include <cmath>
+
#include "AUD_NULLDevice.h"
#include "AUD_IReader.h"
#include "AUD_IFactory.h"
@@ -76,7 +78,7 @@ bool AUD_NULLDevice::seek(AUD_Handle* handle, float position)
float AUD_NULLDevice::getPosition(AUD_Handle* handle)
{
- return 0.0f;
+ return NAN;
}
AUD_Status AUD_NULLDevice::getStatus(AUD_Handle* handle)