mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
fix for playSound argument to match QScriptValue conversion
This commit is contained in:
parent
bfc25767ed
commit
3d1bb68c72
2 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ void AudioScriptingInterface::stopAllInjectors() {
|
|||
}
|
||||
}
|
||||
|
||||
AudioInjector* AudioScriptingInterface::playSound(Sound* sound, AudioInjectorOptions& injectorOptions) {
|
||||
AudioInjector* AudioScriptingInterface::playSound(Sound* sound, const AudioInjectorOptions& injectorOptions) {
|
||||
|
||||
AudioInjector* injector = new AudioInjector(sound, injectorOptions);
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ public slots:
|
|||
|
||||
static float getLoudness(AudioInjector* injector);
|
||||
|
||||
AudioInjector* playSound(Sound* sound, AudioInjectorOptions& injectorOptions);
|
||||
AudioInjector* playSound(Sound* sound, const AudioInjectorOptions& injectorOptions = AudioInjectorOptions());
|
||||
|
||||
void stopInjector(AudioInjector* injector);
|
||||
bool isInjectorPlaying(AudioInjector* injector);
|
||||
|
|
Loading…
Reference in a new issue