diff options
author | Joerg Mueller <nexyon@gmail.com> | 2010-03-20 14:50:27 +0300 |
---|---|---|
committer | Joerg Mueller <nexyon@gmail.com> | 2010-03-20 14:50:27 +0300 |
commit | ca3736c123aff2bb01f3231687a807952cdca4af (patch) | |
tree | bf769160a78e3b8323a7cf9050b119df905bfe98 /intern | |
parent | 1e2be7a8c6e32589be706da407f75cddf879c077 (diff) |
Fix for [#21639] Playback with AV-sync and None sound system.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/audaspace/intern/AUD_NULLDevice.cpp | 4 |
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) |