mirror of https://github.com/qt/qtdoc.git
This patch allows the user to change the audio device while a video or audio file is being played in the media player app. Before this change, audio would start playing on operating system's default audio device, but it would not switch to another audio device even if the user selected another device while the media was playing. This patch uses a MediaDevices QML element to listen to audio device changes from the operating system, and will automatically switch to the device that is set as default at any time. Fixes: QTBUG-119282 Pick-to: 6.8 Change-Id: Id1acfe9e9025a81c4cc3fa0e4593292f287f7b9a Reviewed-by: Artem Dyomin <artem.dyomin@qt.io> |
||
---|---|---|
.. | ||
Config | ||
MediaControls | ||
MediaPlayer | ||
doc | ||
CMakeLists.txt | ||
filenameprovider.h | ||
main.cpp | ||
mediaplayer.py | ||
mediaplayer.pyproject |