[vlc-devel] [PATCH] lib: Fire event when an audio output is created.

Mark Lee mark.lee at capricasoftware.co.uk
Thu Jan 9 23:18:29 CET 2014


Hello,

On 9 January 2014 21:36, Rémi Denis-Courmont <remi at remlab.net> wrote:

> Le jeudi 9 janvier 2014, 21:30:46 Mark Lee a écrit :
> > Setting the volume before playing media still appears to have no effect,
> > and getting the volume now returns zero rather than -1. Only after some
> > time has passed after the media has started playing does an actual
> correct
> > non-zero volume get returned.
>
> And VLC does *not* exhibit the same problem?


I must admit I had not yet checked what VLC itself did, so...

After testing against VLC revision g6d07bbb on Linux Mint 15 (64-bit) I
observed the following...

I did these four tests in sequence:

1. Start VLC
2. Volume is zero (as shown in the volume widget)
3. Set volume to 50
4. Play media
5. Volume switches to zero
6. Set volume to 75
7. Quit VLC

1. Start VLC
2. Volume is zero
3. Play media
4. Volume switches to 75
5. Quit VLC

1. Start VLC
2. Volume is zero
3. Set volume to 95
4. Play media
5. Volume switches to zero
6. Quit VLC

1. Start VLC
2. Volume is zero
3. Play media
4. Volume switches to 75

I then tested against 2.1.3 (g3351225).

When I try my first test against this version of vlc, I get this error in
the console:

[0x1be58a8] pulse audio output error: cannot change volume while not playing

That message seems pertinent of course (!)

I then continued those tests against 2.1.3 and this time rather than the
volume switching to zero after playing media, it switched from zero to
whatever the previous set value was.

For completeness I then tested against 2.0.8 (g68cf50b) and it all worked
correctly as expected.

So I can not say for sure VLC exhibits the exact same problem, but it does
exhibit a similar problem - at least on my platform.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140109/83a3e1ca/attachment.html>


More information about the vlc-devel mailing list