Page 1 of 1

Multiple players and volume change

Posted: 07 Sep 2013 14:12
by Claupacius
Hello,
My application creates a number of libvlc_media_player_t objects.
But when I change volume level on particular player, the volume changes on all players.
This issue exists when players use the same audio output device. If players use different audio devices it works as expected.

I also tried to instantiate player objects from the different instances of libvlc_instance_t, but it was the same effect.

Is this a feature of the a new version of libVLC ? I'm using version 2.2.0.0.
How can I overcome such limitation ? I need to lower volume of media while playing audio message.
Thanks in advance

Re: Multiple players and volume change

Posted: 09 Sep 2013 23:47
by Jean-Baptiste Kempf
Unfortunately most volumes are now linked to hardware.

Re: Multiple players and volume change

Posted: 11 Sep 2013 06:11
by Claupacius
Hi Jean-Baptiste, thank you for the reply.
What do you think can be a workaround for such case ? Two processes and IPC ?

Re: Multiple players and volume change

Posted: 12 Sep 2013 13:21
by Jean-Baptiste Kempf
Maybe yes or several libvlc instances.

Re: Multiple players and volume change

Posted: 13 Sep 2013 18:27
by RĂ©mi Denis-Courmont
when I change volume level on particular player, the volume changes on all players. (...) Is this a feature of the a new version of libVLC ? I'm using version 2.2.0.0.
No, that would be a bug, but it could also be a "feature" of your operating system.