Showing the changes to libraries/script-engine/src/AudioScriptingInterface.cpp (1 of 4 files). Show all
Unified · Split
| @@ -45,7 +45,7 @@ ScriptAudioInjector* AudioScriptingInterface::playSound(SharedSoundPointer sound · 44 unmodified lines | ||
| 45 | 45 | // stereo option isn't set from script, this comes from sound metadata or filename |
| 46 | 46 | AudioInjectorOptions optionsCopy = injectorOptions; |
| 47 | 47 | optionsCopy.stereo = sound->isStereo(); |
| 48 | − auto injector = AudioInjector::playSound(sound->getByteArray(), optionsCopy, _localAudioInterface); | |
| 48 | + auto injector = AudioInjector::playSound(sound->getByteArray(), optionsCopy); | |
| 49 | 49 | if (!injector) { |
| 50 | 50 | return NULL; |
| 51 | 51 | } |