diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-01-16 10:34:38 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-01-22 07:04:19 +0000 |
commit | 79b6a7e5df28c7b2dbbf1270ce2f5a6b3d184fac (patch) | |
tree | 8c23cca7e08e4f9352c18bef92c93c865d976862 /src/multimedia/platform/windows/player/mfplayerservice_p.h | |
parent | 1a79fd38e0d92d1d24c9e4aa68678dc9dd5eb7c7 (diff) |
Add support for selecting the audio output in QMediaPlayer
Add API to select the audio output devive in QMediaPlayer. Implement it
where possible.
The gstreamer implementation still has issues, on rare occasions, the
video stops playing when changing the audio output. There seems to be
a race condition somewhere.
Windows partially works, but the output device will not get updated after
playback started.
Change-Id: Ic6e99f7d2e3452915a9870dce45e2e01b079d3c2
Reviewed-by: Doris Verria <doris.verria@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/multimedia/platform/windows/player/mfplayerservice_p.h')
-rw-r--r-- | src/multimedia/platform/windows/player/mfplayerservice_p.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/multimedia/platform/windows/player/mfplayerservice_p.h b/src/multimedia/platform/windows/player/mfplayerservice_p.h index 50362c381..11b34f819 100644 --- a/src/multimedia/platform/windows/player/mfplayerservice_p.h +++ b/src/multimedia/platform/windows/player/mfplayerservice_p.h @@ -65,7 +65,6 @@ QT_END_NAMESPACE QT_USE_NAMESPACE class MFEvrVideoWindowControl; -class MFAudioEndpointControl; class MFVideoRendererControl; class MFPlayerControl; class MFMetaDataControl; @@ -81,7 +80,6 @@ public: QObject *requestControl(const char *name); void releaseControl(QObject *control); - MFAudioEndpointControl* audioEndpointControl() const; MFVideoRendererControl* videoRendererControl() const; MFEvrVideoWindowControl* videoWindowControl() const; MFMetaDataControl* metaDataControl() const; @@ -89,7 +87,6 @@ public: private: MFPlayerSession *m_session; MFVideoRendererControl *m_videoRendererControl; - MFAudioEndpointControl *m_audioEndpointControl; MFEvrVideoWindowControl *m_videoWindowControl; MFPlayerControl *m_player; MFMetaDataControl *m_metaDataControl; |