I have multiple embedded players in my application. I could change audio volume of each media seperately with VLC 2.2.8 plugins. With the exact same code, when I switch to VLC 3.0.3 or VLC 3.0.4 plugins, every time I call "libvlc_audio_set_volume", it changes the volume of every active media. I have 4 different media players in the code and here is what's happening roughly:
Code: Select all
libvlc_audio_set_volume(player1->core(), value);
Code: Select all
libvlc_audio_set_volume(player2->core(), value);
Code: Select all
libvlc_audio_set_volume(player3->core(), value);
Code: Select all
libvlc_audio_set_volume(player4->core(), value);
Every time I change the volume of any media, the volumes of all other media change to the same level. Also I dont understand why "mmdevice audio output debug: simple volume changed: 0.238328, muting disabled" log message is printed (probably vlc_AudioSessionEvents_OnSimpleVolumeChanged callback is called?) for 2,8,18 and 32 times respectively even though I call libvlc_audio_set_volume only once.
Again, the same code works perfectly with VLC 2.2.8 plugins. What am I doing wrong? Or is this a bug for VLC 3.0+?
Regards.