diff options
author | Frans Englich <frans.englich@nokia.com> | 2009-09-06 23:22:32 (GMT) |
---|---|---|
committer | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-09-09 15:30:19 (GMT) |
commit | c4fb0864e229ff33e4b454c74116573a9ea79054 (patch) | |
tree | 15b70bac51904b01c1885c103bb69a6d95551b6c /src/3rdparty/phonon/mmf/audiooutput.h | |
parent | 7d2d15bbc9d598daf94800b576aff19a68119ed1 (diff) | |
download | Qt-c4fb0864e229ff33e4b454c74116573a9ea79054.zip Qt-c4fb0864e229ff33e4b454c74116573a9ea79054.tar.gz Qt-c4fb0864e229ff33e4b454c74116573a9ea79054.tar.bz2 |
Make the MediaObject propagation generic for all kinds of nodes.
Previously the MediaObject propagation was only done for effects, but now it's
for all kinds of nodes. This is needed for AudioOutput.
Diffstat (limited to 'src/3rdparty/phonon/mmf/audiooutput.h')
-rw-r--r-- | src/3rdparty/phonon/mmf/audiooutput.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/3rdparty/phonon/mmf/audiooutput.h b/src/3rdparty/phonon/mmf/audiooutput.h index 0d3cca7..0a962a9 100644 --- a/src/3rdparty/phonon/mmf/audiooutput.h +++ b/src/3rdparty/phonon/mmf/audiooutput.h @@ -70,16 +70,16 @@ public: */ virtual bool setOutputDevice(const Phonon::AudioOutputDevice &); - /** - * Called by backend when nodes are connected. - */ - void setVolumeObserver(VolumeObserver* observer); +protected: + virtual bool activateOnMediaObject(MediaObject *mo); Q_SIGNALS: void volumeChanged(qreal volume); void audioDeviceFailed(); private: + void setVolumeObserver(VolumeObserver* observer); + qreal m_volume; // Not owned |