CMMFAudioControllerCustomCommandParser Class Reference
class CMMFAudioControllerCustomCommandParser : public CMMFCustomCommandParserBase
|
Custom command parser class to be used by controller plugins wishing to support audio controller commands.
The controller plugin must be derived from
MMMFAudioControllerCustomCommandImplementor
to use this class.
The controller plugin should create an object of this type and add it to the list of custom command parsers in the controller framework. See the following example code for details.
void CMMFAudioController::ConstructL()
{
// Construct custom command parsers
CMMFAudioPlayDeviceCustomCommandParser* audPlayDevParser = CMMFAudioPlayDeviceCustomCommandParser::NewL(*this);
CleanupStack::PushL(audPlayDevParser);
AddCustomCommandParserL(*audPlayDevParser); //parser now owned by controller framework
CleanupStack::Pop();//audPlayDevParser
CMMFAudioRecordDeviceCustomCommandParser* audRecDevParser = CMMFAudioRecordDeviceCustomCommandParser::NewL(*this);
CleanupStack::PushL(audRecDevParser);
AddCustomCommandParserL(*audRecDevParser); //parser now owned by controller framework
CleanupStack::Pop();//audRecDevParser
etc.
}
Inherits from
-
CMMFAudioControllerCustomCommandParser
Constructor & Destructor Documentation
CMMFAudioControllerCustomCommandParser(MMMFAudioControllerCustomCommandImplementor &)
~CMMFAudioControllerCustomCommandParser()
IMPORT_C
|
~CMMFAudioControllerCustomCommandParser
|
(
|
)
|
|
Member Functions Documentation
DoCopyArrayDataL(TMMFMessage &)
DoCreateBufFromFourCCArrayL(RArray< TFourCC > &)
void
|
DoCreateBufFromFourCCArrayL
|
(
|
RArray
<
TFourCC
> &
|
aArray
|
)
|
[private]
|
DoCreateBufFromUintArrayL(RArray< TUint > &)
void
|
DoCreateBufFromUintArrayL
|
(
|
RArray
<
TUint
> &
|
aArray
|
)
|
[private]
|
DoGetSinkBitRateL(TMMFMessage &)
DoGetSinkDataTypeL(TMMFMessage &)
DoGetSinkFormatL(TMMFMessage &)
DoGetSinkNumChannelsL(TMMFMessage &)
DoGetSinkSampleRateL(TMMFMessage &)
DoGetSourceBitRateL(TMMFMessage &)
DoGetSourceDataTypeL(TMMFMessage &)
DoGetSourceFormatL(TMMFMessage &)
DoGetSourceNumChannelsL(TMMFMessage &)
DoGetSourceSampleRateL(TMMFMessage &)
DoGetSupportedSinkBitRatesL(TMMFMessage &)
DoGetSupportedSinkDataTypesL(TMMFMessage &)
DoGetSupportedSinkNumChannelsL(TMMFMessage &)
DoGetSupportedSinkSampleRatesL(TMMFMessage &)
DoGetSupportedSourceBitRatesL(TMMFMessage &)
DoGetSupportedSourceDataTypesL(TMMFMessage &)
DoGetSupportedSourceNumChannelsL(TMMFMessage &)
DoGetSupportedSourceSampleRatesL(TMMFMessage &)
DoHandleRequestL(TMMFMessage &)
void
|
DoHandleRequestL
|
(
|
TMMFMessage
&
|
aMessage
|
)
|
[private]
|
DoSetCodecL(TMMFMessage &)
DoSetSinkBitRateL(TMMFMessage &)
DoSetSinkDataTypeL(TMMFMessage &)
DoSetSinkFormatL(TMMFMessage &)
DoSetSinkNumChannelsL(TMMFMessage &)
DoSetSinkSampleRateL(TMMFMessage &)
DoSetSourceBitRateL(TMMFMessage &)
DoSetSourceDataTypeL(TMMFMessage &)
DoSetSourceFormatL(TMMFMessage &)
DoSetSourceNumChannelsL(TMMFMessage &)
DoSetSourceSampleRateL(TMMFMessage &)
HandleRequest(TMMFMessage &)
void
|
HandleRequest
|
(
|
TMMFMessage
&
|
aMessage
|
)
|
[virtual]
|
Handles a request from the client. Called by the controller framework.
NewL(MMMFAudioControllerCustomCommandImplementor &)
Creates a new custom command parser capable of handling audio controller commands.
Member Data Documentation
CBufFlat * iDataCopyBuffer
MMMFAudioControllerCustomCommandImplementor & iImplementor
The object that implements the audio record controller interface
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.