]> git.sesse.net Git - vlc/commitdiff
PulseAudio: update volume when there is no active stream
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 23 Feb 2014 10:29:34 +0000 (12:29 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 23 Feb 2014 10:34:17 +0000 (12:34 +0200)
modules/audio_output/pulse.c

index b08cb18667f2d5c5a7b09d636271d0123c205c21..7ad9d4a430ddf13fd0bd096ce8d25fb26be4e56d 100644 (file)
@@ -640,6 +640,7 @@ static int VolumeSet(audio_output_t *aout, float vol)
     if (s == NULL)
     {
         sys->volume_force = volume;
+        aout_VolumeReport(aout, volume / PA_VOLUME_NORM);
         ret = 0;
         goto out;
     }