]> git.sesse.net Git - vlc/blobdiff - modules/audio_output/adummy.c
ALSA: remove variable callback (refs #5273)
[vlc] / modules / audio_output / adummy.c
index 048b9ec4fbdd6ecb34d95051cf026b7ed03bf2ac..fcd62edefbf364649cd07888e96905207765ab93 100644 (file)
@@ -63,7 +63,7 @@ static int Open( vlc_object_t * p_this )
     p_aout->pf_flush = NULL;
     aout_VolumeSoftInit( p_aout );
 
-    if( AOUT_FMT_NON_LINEAR( &p_aout->format )
+    if( AOUT_FMT_SPDIF( &p_aout->format )
      && var_InheritBool( p_this, "spdif" ) )
     {
         p_aout->format.i_format = VLC_CODEC_SPDIFL;