#include <sbBaseMediacoreMultibandEqualizer.h>
Public Member Functions | |
NS_DECL_ISUPPORTS NS_DECL_SBIMEDIACOREMULTIBANDEQUALIZER | sbBaseMediacoreMultibandEqualizer () |
nsresult | InitBaseMediacoreMultibandEqualizer () |
virtual nsresult | OnInitBaseMediacoreMultibandEqualizer () |
virtual nsresult | OnSetEqEnabled (PRBool aEqEnabled) |
virtual nsresult | OnGetBandCount (PRUint32 *aBandCount) |
virtual nsresult | OnGetBand (PRUint32 aBandIndex, sbIMediacoreEqualizerBand *aBand) |
virtual nsresult | OnSetBand (sbIMediacoreEqualizerBand *aBand) |
Public Member Functions inherited from sbIMediacoreMultibandEqualizer | |
sbIMediacoreEqualizerBand | getBand (in unsigned long aBandIndex) |
Get a band. More... | |
void | setBand (in sbIMediacoreEqualizerBand aBand) |
Set a band. More... | |
Static Public Attributes | |
static const nsEmbedString | NO_PRESET = NS_LITERAL_STRING("") |
Value of currentPResetName if the equalizer is not set by a preset. This value is set as empty string (""). More... | |
static const PRUint32 | EQUALIZER_BAND_COUNT_DEFAULT = 10 |
Suggested default band count for the equalizer. This value is defined as 10. More... | |
static const PRUint32 | EQUALIZER_BANDS_10 [10] |
Suggested bands for a 10 band equalizer. More... | |
Protected Types | |
typedef nsInterfaceHashtable < nsUint32HashKey, sbIMediacoreEqualizerBand > | eqbands_t |
Protected Member Functions | |
virtual | ~sbBaseMediacoreMultibandEqualizer () |
nsresult | EnsureBandIsCached (sbIMediacoreEqualizerBand *aBand) |
Static Protected Member Functions | |
template<class T > | |
static | NS_HIDDEN_ (PLDHashOperator) EnumerateIntoArrayUint32Key(const PRUint32 &aKey |
Protected Attributes | |
static T * | aData |
static T void * | aArray |
PRMonitor * | mMonitor |
PRPackedBool | mEqEnabled |
eqbands_t | mBands |
Additional Inherited Members | |
Public Attributes inherited from sbIMediacoreMultibandEqualizer | |
attribute boolean | eqEnabled |
Whether the EQ is enabled or not. More... | |
attribute nsISimpleEnumerator | bands |
Enumerator containing all available bands. More... | |
readonly attribute unsigned long | bandCount |
The number of bands available. More... | |
attribute AString | currentPresetName |
The name of the current equalizer preset. More... | |
Definition at line 52 of file sbBaseMediacoreMultibandEqualizer.h.
|
protected |
Definition at line 102 of file sbBaseMediacoreMultibandEqualizer.h.
NS_DECL_ISUPPORTS NS_DECL_SBIMEDIACOREMULTIBANDEQUALIZER sbBaseMediacoreMultibandEqualizer::sbBaseMediacoreMultibandEqualizer | ( | ) |
|
protectedvirtual |
Definition at line 130 of file sbBaseMediacoreMultibandEqualizer.cpp.
|
protected |
Definition at line 144 of file sbBaseMediacoreMultibandEqualizer.cpp.
nsresult sbBaseMediacoreMultibandEqualizer::InitBaseMediacoreMultibandEqualizer | ( | ) |
Definition at line 183 of file sbBaseMediacoreMultibandEqualizer.cpp.
|
staticprotected |
|
virtual |
Reimplemented in sbGStreamerMediacore, and sbMediacoreManager.
Definition at line 252 of file sbBaseMediacoreMultibandEqualizer.cpp.
|
virtual |
Reimplemented in sbGStreamerMediacore, and sbMediacoreManager.
Definition at line 241 of file sbBaseMediacoreMultibandEqualizer.cpp.
|
virtual |
Reimplemented in sbGStreamerMediacore, and sbMediacoreManager.
Definition at line 219 of file sbBaseMediacoreMultibandEqualizer.cpp.
|
virtual |
Reimplemented in sbGStreamerMediacore, and sbMediacoreManager.
Definition at line 265 of file sbBaseMediacoreMultibandEqualizer.cpp.
|
virtual |
Reimplemented in sbGStreamerMediacore, and sbMediacoreManager.
Definition at line 230 of file sbBaseMediacoreMultibandEqualizer.cpp.
|
protected |
Definition at line 94 of file sbBaseMediacoreMultibandEqualizer.h.
|
protected |
Definition at line 94 of file sbBaseMediacoreMultibandEqualizer.h.
|
static |
Suggested default band count for the equalizer. This value is defined as 10.
Definition at line 71 of file sbBaseMediacoreMultibandEqualizer.h.
|
static |
Suggested bands for a 10 band equalizer.
Definition at line 75 of file sbBaseMediacoreMultibandEqualizer.h.
|
protected |
Definition at line 103 of file sbBaseMediacoreMultibandEqualizer.h.
|
protected |
Definition at line 100 of file sbBaseMediacoreMultibandEqualizer.h.
|
protected |
Definition at line 99 of file sbBaseMediacoreMultibandEqualizer.h.
|
static |
Value of currentPResetName if the equalizer is not set by a preset. This value is set as empty string ("").
Definition at line 66 of file sbBaseMediacoreMultibandEqualizer.h.