Problem with QMediaPlayer and QSoundEffect
-
I have a problem with QSoundEffect and QMediaPlayer. When I play a sound QSoundEffect with a different volume, it also changes the volume of the music QMediaPlayer.
How I can fix this? -
Hi and welcome to devnet,
IIRC, the QSoundEffect and QMediaPlayer use the same audio output that's why modifying the volume of one influence the other
-
then
How to play two sounds with different volumes?