]> git.sesse.net Git - vlc/blobdiff - modules/audio_output/auhal.c
Use var_TriggerCallback as appropriate
[vlc] / modules / audio_output / auhal.c
index 0e29526c896742d7dca2b117ff2349c75759504d..22f671d81006abfe1c837266335cebe9f5421761 100644 (file)
@@ -1411,7 +1411,7 @@ static OSStatus HardwareListener( AudioHardwarePropertyID inPropertyID,
         {
             /* something changed in the list of devices */
             /* We trigger the audio-device's aout_ChannelsRestart callback */
-            var_Change( p_aout, "audio-device", VLC_VAR_TRIGGER_CALLBACKS, NULL, NULL );
+            var_TriggerCallback( p_aout, "audio-device" );
             var_Destroy( p_aout, "audio-device" );
         }
         break;