CAccPolAudioStreamFormat Class Reference
| class CAccPolAudioStreamFormat : public CAccPolObjectBase |
Store's an audio stream format parameters.
.lib
| Public Member Functions |
|---|
| ~CAccPolAudioStreamFormat() |
| IMPORT_C const TUid | AudioFormat() |
| IMPORT_C TBitResolution | BitResolution() |
|
CAccPolObjectBase * | DuplicateLC(CAccPolObjectCon *) |
| void | ExternalizeL(RWriteStream &) |
| void | InternalizeL(RReadStream &) |
| IMPORT_C CAccPolAudioStreamFormat * | NewL(const TStreamConObjectType, CAccPolObjectCon *) |
| IMPORT_C CAccPolAudioStreamFormat * | NewL(const TStreamConObjectType, const TUint8, const TUid, const TStreamType, const TBitResolution, const TUint32) |
| IMPORT_C CAccPolAudioStreamFormat * | NewLC(const TStreamConObjectType, CAccPolObjectCon *) |
| IMPORT_C CAccPolAudioStreamFormat * | NewLC(const TStreamConObjectType, const TUint8, const TUid, const TStreamType, const TBitResolution, const TUint32) |
| IMPORT_C TUint32 | SamFreq() |
| IMPORT_C void | SetAudioFormat(const TUid) |
| IMPORT_C void | SetBitResolution(const TBitResolution) |
| IMPORT_C void | SetSamFreq(const TUint32) |
| IMPORT_C void | SetStreamType(const TStreamType) |
| IMPORT_C void | SetUnitId(const TUint8) |
| IMPORT_C TStreamType | StreamType() |
| IMPORT_C TUint8 | UnitId() |
| IMPORT_C CAccPolAudioStreamFormat & | operator=(const CAccPolAudioStreamFormat &) |
Constructor & Destructor Documentation
CAccPolAudioStreamFormat(const TStreamConObjectType, CAccPolObjectCon *)
CAccPolAudioStreamFormat(const TStreamConObjectType, const TUint8, const TUid, const TStreamType, const TBitResolution, const TUint32)
~CAccPolAudioStreamFormat()
| ~CAccPolAudioStreamFormat | ( | ) | [virtual] |
Member Functions Documentation
AudioFormat()
| IMPORT_C const TUid | AudioFormat | ( | ) | const |
Returns the audio format.
BitResolution()
Returns the bit resolution.
ConstructL()
| void | ConstructL | ( | ) | [protected] |
By default Symbian 2nd phase constructor is private.
DuplicateLC(CAccPolObjectCon *)
Duplicates the object data.
ExternalizeL(RWriteStream &)
InternalizeL(RReadStream &)
NewL(const TStreamConObjectType, CAccPolObjectCon *)
NewL(const TStreamConObjectType, const TUint8, const TUid, const TStreamType, const TBitResolution, const TUint32)
NewLC(const TStreamConObjectType, CAccPolObjectCon *)
NewLC(const TStreamConObjectType, const TUint8, const TUid, const TStreamType, const TBitResolution, const TUint32)
SamFreq()
Returns the discrete sampling frequency.
SetAudioFormat(const TUid)
| IMPORT_C void | SetAudioFormat | ( | const TUid | aAudioFormat | ) | |
SetBitResolution(const TBitResolution)
SetSamFreq(const TUint32)
| IMPORT_C void | SetSamFreq | ( | const TUint32 | aSamFreq | ) | |
Sets the sampling frequency.
SetStreamType(const TStreamType)
| IMPORT_C void | SetStreamType | ( | const TStreamType | aStreamType | ) | |
Sets the audio data stream type.
SetUnitId(const TUint8)
| IMPORT_C void | SetUnitId | ( | const TUint8 | aUnitId | ) | |
StreamType()
Returns the audio stream type.
operator=(const CAccPolAudioStreamFormat &)
Assign operator for audio stream format class.
Member Enumerations Documentation
Enum TBitResolution
Enumerators
| EFormatNone = 0 | |
| EFormatSpecificBitResolution | |
| EBitsPerSample16 | |
| EBitsPerSample24 | |
| EBitsPerSample32 | |
Enum TStreamType
Enumerators
| EStreamNone = 0 | |
| EFormatSpecificStreamType | |
| EMono | |
| EStereo | |
Member Data Documentation
TUid
iAudioFormat
|
TUid
| iAudioFormat | [private] |
TBitResolution
iBitResolution
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.