mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 19:21:16 +02:00
Merge pull request #13586 from Atlante45/feat/stereo-interface
Remove AudioScriptingInterface.setStereoInput’s return value
This commit is contained in:
commit
91f74aeb0a
2 changed files with 2 additions and 4 deletions
|
@ -75,11 +75,10 @@ ScriptAudioInjector* AudioScriptingInterface::playSound(SharedSoundPointer sound
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool AudioScriptingInterface::setStereoInput(bool stereo) {
|
void AudioScriptingInterface::setStereoInput(bool stereo) {
|
||||||
if (_localAudioInterface) {
|
if (_localAudioInterface) {
|
||||||
QMetaObject::invokeMethod(_localAudioInterface, "setIsStereoInput", Q_ARG(bool, stereo));
|
QMetaObject::invokeMethod(_localAudioInterface, "setIsStereoInput", Q_ARG(bool, stereo));
|
||||||
}
|
}
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool AudioScriptingInterface::isStereoInput() {
|
bool AudioScriptingInterface::isStereoInput() {
|
||||||
|
|
|
@ -54,9 +54,8 @@ protected:
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* @function Audio.setStereoInput
|
* @function Audio.setStereoInput
|
||||||
* @param {boolean} stereo
|
* @param {boolean} stereo
|
||||||
* @returns {boolean}
|
|
||||||
*/
|
*/
|
||||||
Q_INVOKABLE bool setStereoInput(bool stereo);
|
Q_INVOKABLE void setStereoInput(bool stereo);
|
||||||
|
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* @function Audio.isStereoInput
|
* @function Audio.isStereoInput
|
||||||
|
|
Loading…
Reference in a new issue