summaryrefslogtreecommitdiffstats
path: root/nebu/audio/SourceEngine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nebu/audio/SourceEngine.cpp')
-rw-r--r--nebu/audio/SourceEngine.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/nebu/audio/SourceEngine.cpp b/nebu/audio/SourceEngine.cpp
new file mode 100644
index 0000000..1a03dff
--- /dev/null
+++ b/nebu/audio/SourceEngine.cpp
@@ -0,0 +1,14 @@
+#include "audio/nebu_SourceEngine.h"
+
+namespace Sound {
+ void SourceEngine::GetModifiers(float& fPan, float& fVolume, float& fShift) {
+ Source3D::GetModifiers(fPan, fVolume, fShift);
+ fVolume *= _speedShift;
+ fShift *= _pitchShift;
+ }
+}
+
+
+
+
+