[vlc-commits] PulseAudio: update volume when there is no active stream

Rémi Denis-Courmont git at videolan.org
Sun Feb 23 11:34:23 CET 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Feb 23 12:29:34 2014 +0200| [dd007b12b531bb4aeb3913f47434c27fd9b80872] | committer: Rémi Denis-Courmont

PulseAudio: update volume when there is no active stream

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dd007b12b531bb4aeb3913f47434c27fd9b80872
---

 modules/audio_output/pulse.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/audio_output/pulse.c b/modules/audio_output/pulse.c
index b08cb18..7ad9d4a 100644
--- a/modules/audio_output/pulse.c
+++ b/modules/audio_output/pulse.c
@@ -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;
     }



More information about the vlc-commits mailing list