Commit d4bb3e3f authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: workaround for win32 to allow saving the volume

This is bad, but I lack a better idea for now.
parent e52299c2
......@@ -996,6 +996,11 @@ void SPrefsPanel::updateAudioOptions( int number)
optionWidgets["spdifChB"]->setVisible( ( value == "alsa" || value == "oss" || value == "auhal" ||
value == "directsound" || value == "waveout" ) );
#ifdef _WIN32
// FIXME
if( value == "any" )
value = "directsound";
#endif
int volume = getDefaultAudioVolume(VLC_OBJECT(p_intf), qtu(value));
bool save = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment