- (void)initStrings
{
/* audio */
- [o_audio_dolby_txt setStringValue: _NS("Force detection of Dolby Digital")];
+ [o_audio_dolby_txt setStringValue: _NS("Force detection of Dolby Surround")];
[o_audio_effects_box setTitle: _NS("Effects")];
[o_audio_enable_ckb setTitle: _NS("Enable Audio")];
[o_audio_general_box setTitle: _NS("General Audio")];
[o_audio_spdif_ckb setState: config_GetInt( p_intf, "spdif" )];
- [self setupButton: o_audio_dolby_pop forIntList: "force-dolby-digital"];
+ [self setupButton: o_audio_dolby_pop forIntList: "force-dolby-surround"];
[o_audio_lang_fld setStringValue: [NSString stringWithUTF8String: config_GetPsz( p_intf, "audio-language" ) ?: ""]];
config_PutInt( p_intf, "volume", [o_audio_vol_sld intValue] );
config_PutInt( p_intf, "spdif", [o_audio_spdif_ckb state] );
- SaveIntList( o_audio_dolby_pop, "force-dolby-digital" );
+ SaveIntList( o_audio_dolby_pop, "force-dolby-surround" );
config_PutPsz( p_intf, "audio-language", [[o_audio_lang_fld stringValue] UTF8String] );
config_PutInt( p_intf, "headphone-dolby", [o_audio_headphone_ckb state] );
CONFIG_GENERIC( "spdif", Bool, NULL, spdifBox );
CONFIG_GENERIC( "qt-autosave-volume", Bool, NULL, saveVolBox );
- CONFIG_GENERIC( "force-dolby-digital" , IntegerList , NULL,
+ CONFIG_GENERIC( "force-dolby-surround" , IntegerList , NULL,
detectionDolby );
CONFIG_GENERIC( "headphone-dolby" , Bool , NULL, headphoneEffect );
<item row="2" column="0" >
<widget class="QLabel" name="label_8" >
<property name="text" >
- <string>_("Force detection of Dolby Digital")</string>
+ <string>_("Force detection of Dolby Surround")</string>
</property>
<property name="buddy" >
<cstring>detectionDolby</cstring>
if ( p_aout->output.output.i_original_channels & AOUT_CHAN_DOLBYSTEREO )
{
val.i_int = AOUT_VAR_CHAN_DOLBYS;
- text.psz_string = _("Dolby Digital");
+ text.psz_string = _("Dolby Surround");
}
else
{
if( p_owner->p_aout_input == NULL )
{
- const int i_force_dolby = config_GetInt( p_dec, "force-dolby-digital" );
+ const int i_force_dolby = config_GetInt( p_dec, "force-dolby-surround" );
audio_sample_format_t format;
aout_input_t *p_aout_input;
aout_instance_t *p_aout;
"S/PDIF can be used by default when " \
"your hardware supports it as well as the audio stream being played.")
-#define FORCE_DOLBY_TEXT N_("Force detection of Dolby Digital")
+#define FORCE_DOLBY_TEXT N_("Force detection of Dolby Surround")
#define FORCE_DOLBY_LONGTEXT N_( \
"Use this when you know your stream is (or is not) encoded with Dolby "\
- "Digital but fails to be detected as such. Even if the stream is "\
- "not actually encoded with Dolby Digital, turning on this option might "\
+ "Surround but fails to be detected as such. Even if the stream is "\
+ "not actually encoded with Dolby Surround, turning on this option might "\
"enhance your experience, especially when combined with the Headphone "\
"Channel Mixer." )
static const int pi_force_dolby_values[] = { 0, 1, 2 };
AOUT_RESAMP_LONGTEXT, true );
#endif
add_bool( "spdif", 0, NULL, SPDIF_TEXT, SPDIF_LONGTEXT, false );
- add_integer( "force-dolby-digital", 0, NULL, FORCE_DOLBY_TEXT,
+ add_integer( "force-dolby-surround", 0, NULL, FORCE_DOLBY_TEXT,
FORCE_DOLBY_LONGTEXT, false );
change_integer_list( pi_force_dolby_values, ppsz_force_dolby_descriptions, NULL );
add_integer( "audio-desync", 0, NULL, DESYNC_TEXT,