PDA

View Full Version : Qt 5.2: Volume control for multiple QMediaPlayer instances



lf2.net
8th January 2016, 09:26
Hello there,

i'm trying to make an audio player which is capable of playing multiple sound files at the same time. Therefore i used multiple QMediaPlayer objects to do so.
However, i connected QSlider to each setVolume-slot but they just change the overall volume of the application.
Does someone know, how i can change the volume of the specific QMediaPlayer or respective sound file?

Thank you in advance.