#include <sbBaseMediacoreVolumeControl.h>
Public Member Functions | |
NS_DECL_ISUPPORTS NS_DECL_SBIMEDIACOREVOLUMECONTROL | sbBaseMediacoreVolumeControl () |
nsresult | InitBaseMediacoreVolumeControl () |
virtual nsresult | OnInitBaseMediacoreVolumeControl () |
virtual nsresult | OnSetMute (PRBool aMute) |
virtual nsresult | OnSetVolume (PRFloat64 aVolume) |
Protected Member Functions | |
virtual | ~sbBaseMediacoreVolumeControl () |
Protected Attributes | |
PRMonitor * | mMonitor |
PRBool | mMute |
double | mVolume |
Additional Inherited Members | |
Public Attributes inherited from sbIMediacoreVolumeControl | |
attribute boolean | mute |
attribute double | volume |
Definition at line 43 of file sbBaseMediacoreVolumeControl.h.
NS_DECL_ISUPPORTS NS_DECL_SBIMEDIACOREVOLUMECONTROL sbBaseMediacoreVolumeControl::sbBaseMediacoreVolumeControl | ( | ) |
|
protectedvirtual |
Definition at line 84 of file sbBaseMediacoreVolumeControl.cpp.
nsresult sbBaseMediacoreVolumeControl::InitBaseMediacoreVolumeControl | ( | ) |
Definition at line 96 of file sbBaseMediacoreVolumeControl.cpp.
|
virtual |
This is where you may want to set what the current volume is so that the value is initialized properly.
Reimplemented in sbGStreamerMediacore, sbMediacoreWrapper, and sbMediacoreManager.
Definition at line 163 of file sbBaseMediacoreVolumeControl.cpp.
|
virtual |
This is where you would set the actual mute flag on the mediacore implementation.
The value is always cached for you if this method succeeds. If it fails the current value remains.
Reimplemented in sbGStreamerMediacore, sbMediacoreWrapper, and sbMediacoreManager.
Definition at line 174 of file sbBaseMediacoreVolumeControl.cpp.
|
virtual |
This is where you would set the actual volume on the mediacore implementation.
The value is always cached for you if this method succeeds. If it fails the current value remains.
Reimplemented in sbGStreamerMediacore, sbMediacoreWrapper, and sbMediacoreManager.
Definition at line 188 of file sbBaseMediacoreVolumeControl.cpp.
|
protected |
Definition at line 65 of file sbBaseMediacoreVolumeControl.h.
|
protected |
Definition at line 67 of file sbBaseMediacoreVolumeControl.h.
|
protected |
Definition at line 68 of file sbBaseMediacoreVolumeControl.h.