]> git.sesse.net Git - vlc/blobdiff - modules/audio_output/waveout.c
WaveOut: kill config_Get
[vlc] / modules / audio_output / waveout.c
index 28eb0f6ec6ebc3a411f227f7d1a2b1874faf8917..c7a7e66113c5161760f24f68c952bbb82fba6854 100644 (file)
@@ -462,7 +462,7 @@ static void Probe( aout_instance_t * p_aout )
             text.psz_string = (char *)_("A/52 over S/PDIF");
             var_Change( p_aout, "audio-device",
                         VLC_VAR_ADDCHOICE, &val, &text );
-            if( config_GetInt( p_aout, "spdif" ) )
+            if( var_InheritInteger( p_aout, "spdif" ) )
                 var_Set( p_aout, "audio-device", val );
         }
     }