Volume setting cache

This forum is about all development around libVLC.
hanky
Blank Cone
Blank Cone
Posts: 21
Joined: 30 May 2012 07:49

Volume setting cache

Postby hanky » 29 Mar 2013 09:14

In my app I init a libvlc object with no arguments. Then I start playback, set the volume to some value and then close my program. Next time I open my program and start the playback, it starts with the same volume I set previous time.
I tried libvlc_audio_set_volume(vlcPlayer, 100) before playback starts, but it doesn't help.

Does libvlc cache volume setting? If it does, how can I disable it?

I use libvlc 2.0.5 under Linux Centos.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Volume setting cache

Postby Rémi Denis-Courmont » 29 Mar 2013 10:03

It depends on the back-end. Especially iIf you use PulseAudio, the PulseAudio daemon saves the volume...
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 17 guests