Skip to content

VLC 4 [Windows 10]: Changing player volume affects the process volume

RELEVANT INFO

  • VLC 4 (x64): 20230604-0417
  • BINDINGS: VLCJ 5.0 (master branch) RUNNING WITH JVM 17
  • OS: Windows 10 - 10.0.19045 Compilación 19045

DESCRIPTION

I was making a mod for Minecraft using VLCJ to give multimedia support (also wraps vlc binaries to no require to install vlc 4 if they want to use vlc 3). All my test i made is using my installed VLC instead wrapped ones (both have same version).

Whatever, the problem comes when i try to make more that 1 MediaPlayer to play different videos with different volumes, changing volume in one of then affect the entire process volume (game volume). so if i change the player's volume to 0 sets the process volume to 0 (muting other players)

Changing audio output using --aout directsound as a workarround no works, and other audio output plugins have always the same issue

USING --aout amem

VLC LOGS: vlc-amem.log
NOTES: Using amem changes process name on Audio mixer to VLC Media player
2023-06-05_15-03-48

USING --aout wasapi

VLC LOGS: vlc-wasapi.log
NOTES: Using wasapi changes process name on Audio mixer to VLC Media player
2023-06-05_15-18-25

USING --aout waveout

VLC LOGS: vlc-waveout.log
NOTES: Line 27 ~ waveout error: waveOutSetVolume failed (2)
2023-06-05_15-26-31

HOW I SET PLAYER VOLUME (Using VLCJ)

2023-06-05_15h34_342023-06-05_15h34_45

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information