mirror of
https://github.com/overte-org/overte.git
synced 2025-07-24 18:23:57 +02:00
Fix gcc warning
This commit is contained in:
parent
c782b01fde
commit
b7478c4594
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ static const float LATE_MIX_RIGHT_DEFAULT = 90.0f;
|
||||||
static const float WET_DRY_MIX_DEFAULT = 50.0f;
|
static const float WET_DRY_MIX_DEFAULT = 50.0f;
|
||||||
|
|
||||||
static void setOption(QScriptValue arguments, const QString name, float defaultValue, float& variable) {
|
static void setOption(QScriptValue arguments, const QString name, float defaultValue, float& variable) {
|
||||||
variable = arguments.property(name).isNumber() ? arguments.property(name).toNumber() : defaultValue;
|
variable = arguments.property(name).isNumber() ? (float)arguments.property(name).toNumber() : defaultValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
AudioEffectOptions::AudioEffectOptions(QScriptValue arguments) {
|
AudioEffectOptions::AudioEffectOptions(QScriptValue arguments) {
|
||||||
|
|
Loading…
Reference in a new issue