mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 848581 - Enable cubeb by default on Gonk. r=kinetik f=mchen
This commit is contained in:
parent
54ec6a6ea6
commit
ea84685f19
@ -104,11 +104,7 @@ static int PrefChanged(const char* aPref, void* aClosure)
|
|||||||
gVolumeScale = std::max<double>(0, PR_strtod(utf8.get(), nullptr));
|
gVolumeScale = std::max<double>(0, PR_strtod(utf8.get(), nullptr));
|
||||||
}
|
}
|
||||||
} else if (strcmp(aPref, PREF_USE_CUBEB) == 0) {
|
} else if (strcmp(aPref, PREF_USE_CUBEB) == 0) {
|
||||||
#ifdef MOZ_WIDGET_GONK
|
|
||||||
bool value = Preferences::GetBool(aPref, false);
|
|
||||||
#else
|
|
||||||
bool value = Preferences::GetBool(aPref, true);
|
bool value = Preferences::GetBool(aPref, true);
|
||||||
#endif
|
|
||||||
MutexAutoLock lock(*gAudioPrefsLock);
|
MutexAutoLock lock(*gAudioPrefsLock);
|
||||||
gUseCubeb = value;
|
gUseCubeb = value;
|
||||||
} else if (strcmp(aPref, PREF_CUBEB_LATENCY) == 0) {
|
} else if (strcmp(aPref, PREF_CUBEB_LATENCY) == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user