equal
deleted
inserted
replaced
29 namespace Phonon |
29 namespace Phonon |
30 { |
30 { |
31 namespace MMF |
31 namespace MMF |
32 { |
32 { |
33 class Backend; |
33 class Backend; |
34 class VolumeObserver; |
|
35 |
34 |
36 /** |
35 /** |
37 * @short AudioOutputInterface implementation for MMF. |
36 * @short AudioOutputInterface implementation for MMF. |
38 * |
37 * |
39 * Forwards volume commands to the VolumeObserver instance, |
38 * Forwards volume commands to the MediaObject instance, |
40 * which is provided by the backend when MediaNode objects are |
39 * which is provided by the backend when MediaNode objects are |
41 * connected. |
40 * connected. |
42 * |
41 * |
43 * \section volume Volume |
42 * \section volume Volume |
44 * |
43 * |
80 Q_SIGNALS: |
79 Q_SIGNALS: |
81 void volumeChanged(qreal volume); |
80 void volumeChanged(qreal volume); |
82 void audioDeviceFailed(); |
81 void audioDeviceFailed(); |
83 |
82 |
84 private: |
83 private: |
85 |
|
86 void setVolumeObserver(VolumeObserver* observer); |
|
87 |
|
88 qreal m_volume; |
84 qreal m_volume; |
89 |
85 |
90 // Not owned |
|
91 VolumeObserver* m_observer; |
|
92 }; |
86 }; |
93 } |
87 } |
94 } |
88 } |
95 |
89 |
96 QT_END_NAMESPACE |
90 QT_END_NAMESPACE |