WMF: each media player now has its own volume.
authorYoann Lopes <yoann.lopes@digia.com>
Tue, 4 Mar 2014 16:22:47 +0000 (17:22 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 7 Mar 2014 14:12:13 +0000 (15:12 +0100)
commit7d894ca0aabc054d0575139351937987f015e450
tree30a13e22058f8d5ece219621b7839e2a050deba0
parenta07530d6061edbec703ab0590eca103a787068e8
WMF: each media player now has its own volume.

Instead of setting the volume on the audio session, which is shared by
all QMediaPlayers, we now set the volume on the media player's own audio
stream. This results in all QMediaPlayers correctly having independent
volumes.

[ChangeLog][QtMultimedia][Windows] QMediaPlayer::setVolume() does not
affect the volume of other QMediaPlayers anymore.

Task-number: QTBUG-30317
Change-Id: I8ea8ec47fc86127da01dc5c8247fb6f72c834630
Reviewed-by: Wouter Huysentruit <wouter_huysentruit@hotmail.com>
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
src/plugins/wmf/player/mfplayersession.cpp
src/plugins/wmf/player/mfplayersession.h