+ START_SPREFS_CAT( Audio, qtr("General audio settings") );
+
+ CONFIG_GENERIC( "audio", Bool, NULL, enableAudio );
+
+ CONFIG_GENERIC_NO_BOOL( "volume" , IntegerRangeSlider, NULL,
+ defaultVolume );
+ CONFIG_GENERIC( "audio-language" , String , NULL,
+ preferredAudioLanguage );
+
+ CONFIG_GENERIC( "spdif" , Bool , NULL, spdifBox );
+ CONFIG_GENERIC( "force-dolby-surround" , IntegerList , NULL,
+ detectionDolby );
+
+ CONFIG_GENERIC( "aout" , Module , NULL, outputModule );
+ CONNECT( control, Updated(), this, AudioDeviceChanged() );
+ QString aout_value = (dynamic_cast<ModuleConfigControl*>(control))->getValue();
+#ifndef WIN32
+ CONFIG_GENERIC( "alsadev" , StringList , ui.alsaLabel, alsaDevice );
+ alsa_options = control;
+ CONFIG_GENERIC_FILE( "dspdev" , File , ui.OSSLabel, OSSDevice,
+ OSSBrowse );
+ oss_options = control;
+#else
+ CONFIG_GENERIC( "directx-audio-device" , IntegerList, ui.DirectXLabel,
+ DirectXDevice );
+ directx_options = control;
+#endif
+ CONFIG_GENERIC_FILE( "audiofile-file" , File , ui.FileLabel, FileName,
+ fileBrowseButton );
+ file_options = control;
+