mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 03:45:56 +01:00
Force the directsound sink on windows
This commit is contained in:
parent
84441decce
commit
19b08540ef
@ -122,6 +122,14 @@ void GstEngine::ReloadSettings() {
|
||||
|
||||
sink_ = s.value("sink", kAutoSink).toString();
|
||||
device_ = s.value("device").toString();
|
||||
|
||||
#ifdef Q_OS_WIN32
|
||||
if (sink_ == kAutoSink) {
|
||||
// HACK: Force the direct sound sink on Windows unless the user has
|
||||
// explicitly chosen otherwise.
|
||||
sink_ = "directsoundsink";
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user