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:
Diffstat (limited to 'intern/audaspace/intern/AUD_NULLDevice.cpp')
-rw-r--r--intern/audaspace/intern/AUD_NULLDevice.cpp27
1 files changed, 23 insertions, 4 deletions
diff --git a/intern/audaspace/intern/AUD_NULLDevice.cpp b/intern/audaspace/intern/AUD_NULLDevice.cpp
index 9af40009335..aea2bf4ba62 100644
--- a/intern/audaspace/intern/AUD_NULLDevice.cpp
+++ b/intern/audaspace/intern/AUD_NULLDevice.cpp
@@ -62,6 +62,11 @@ bool AUD_NULLDevice::stop(AUD_Handle* handle)
return false;
}
+bool AUD_NULLDevice::getKeep(AUD_Handle* handle)
+{
+ return false;
+}
+
bool AUD_NULLDevice::setKeep(AUD_Handle* handle, bool keep)
{
return false;
@@ -90,17 +95,31 @@ void AUD_NULLDevice::unlock()
{
}
-bool AUD_NULLDevice::checkCapability(int capability)
+float AUD_NULLDevice::getVolume() const
+{
+ return 0;
+}
+
+void AUD_NULLDevice::setVolume(float volume)
{
- return false;
}
-bool AUD_NULLDevice::setCapability(int capability, void *value)
+float AUD_NULLDevice::getVolume(AUD_Handle* handle)
+{
+ return std::numeric_limits<float>::quiet_NaN();
+}
+
+bool AUD_NULLDevice::setVolume(AUD_Handle* handle, float volume)
{
return false;
}
-bool AUD_NULLDevice::getCapability(int capability, void *value)
+float AUD_NULLDevice::getPitch(AUD_Handle* handle)
+{
+ return std::numeric_limits<float>::quiet_NaN();
+}
+
+bool AUD_NULLDevice::setPitch(AUD_Handle* handle, float pitch)
{
return false;
}