diff options
author | Justin McPherson <justin.mcpherson@nokia.com> | 2010-01-28 07:28:36 (GMT) |
---|---|---|
committer | Justin McPherson <justin.mcpherson@nokia.com> | 2010-01-28 07:28:36 (GMT) |
commit | b220901d125b6c440426577b10d5c7463bf49964 (patch) | |
tree | 18544fc56ac59c7021ddd3a9dff8f9301d8eba63 /src/plugins/mediaservices/qt7/mediaplayer/qt7playersession.h | |
parent | 1e7dc2be019a5cb278d5ca72702dfbac846bf3e7 (diff) | |
download | Qt-b220901d125b6c440426577b10d5c7463bf49964.zip Qt-b220901d125b6c440426577b10d5c7463bf49964.tar.gz Qt-b220901d125b6c440426577b10d5c7463bf49964.tar.bz2 |
Add an audioAvailable property to QMediaPlayer.
from: Andrew den Exter committed 00373999 to qtmobility/qtm-multimedia
Diffstat (limited to 'src/plugins/mediaservices/qt7/mediaplayer/qt7playersession.h')
-rw-r--r-- | src/plugins/mediaservices/qt7/mediaplayer/qt7playersession.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/mediaservices/qt7/mediaplayer/qt7playersession.h b/src/plugins/mediaservices/qt7/mediaplayer/qt7playersession.h index 55505ee..2a6bab7 100644 --- a/src/plugins/mediaservices/qt7/mediaplayer/qt7playersession.h +++ b/src/plugins/mediaservices/qt7/mediaplayer/qt7playersession.h @@ -87,6 +87,7 @@ public: int volume() const; bool isMuted() const; + bool isAudioAvailable() const; bool isVideoAvailable() const; bool isSeekable() const; @@ -112,6 +113,7 @@ signals: void mediaStatusChanged(QMediaPlayer::MediaStatus status); void volumeChanged(int volume); void mutedChanged(bool muted); + void audioAvailableChanged(bool audioAvailable); void videoAvailableChanged(bool videoAvailable); void error(int error, const QString &errorString); |