class RMMFDevSoundProxy : public RMmfSessionBase |
Main interface to DevSound server.
Private Member Functions | |
---|---|
void | StartReceivingMsgQueueHandlerEventsL(MMMFDevSoundCustomInterfaceObserver &) |
Private Member Enumerations | |
---|---|
enum | TState { EIdle = 0, EInitializing, EInitialized, EPlaying, EPlayingBufferWait, ETonePlaying, ERecording, ERecordingBufferWait, ERecordingInLastBufferCycle, ERecordingResumingInLastBufferCycle } |
enum | TTonePlayingMode { ESimple = 0, EDual, EDTMFString, ESequence, EFixedSequence } |
Inherited Enumerations | |
---|---|
RHandleBase:TAttributes | |
RSessionBase:TAttachMode |
Inherited Attributes | |
---|---|
RHandleBase::iHandle |
IMPORT_C void | AsyncCustomCommand | ( | TUid | aUid, |
TRequestStatus & | aStatus, | |||
const TDesC8 & | aParam1, | |||
const TDesC8 & | aParam2, | |||
TDes8 * | aOutParam | |||
) |
TUid aUid | |
TRequestStatus & aStatus | |
const TDesC8 & aParam1 | |
const TDesC8 & aParam2 | |
TDes8 * aOutParam |
void | BufferToBeEmptied | ( | CMMFBuffer * | aBuffer | ) |
CMMFBuffer * aBuffer |
IMPORT_C TInt | BufferToBeEmptiedData | ( | TMMFDevSoundProxyHwBufPckg & | aSetPckg | ) |
TMMFDevSoundProxyHwBufPckg & aSetPckg |
void | BufferToBeFilled | ( | CMMFBuffer * | aBuffer | ) |
CMMFBuffer * aBuffer |
IMPORT_C TInt | BufferToBeFilledData | ( | TBool | aRequestChunk, |
TMMFDevSoundProxyHwBufPckg & | aSetPckg | |||
) |
TBool aRequestChunk | |
TMMFDevSoundProxyHwBufPckg & aSetPckg |
IMPORT_C TInt | CancelRegisterAsClient | ( | TUid | aEventType | ) |
TUid aEventType |
IMPORT_C TMMFCapabilities | Capabilities | ( | ) |
IMPORT_C void | CustomCommandAsync | ( | const TMMFMessageDestinationPckg & | aDestination, |
TInt | aFunction, | |||
const TDesC8 & | aDataTo1, | |||
const TDesC8 & | aDataTo2, | |||
TDes8 & | aDataFrom, | |||
TRequestStatus & | aStatus | |||
) |
const TMMFMessageDestinationPckg & aDestination | |
TInt aFunction | |
const TDesC8 & aDataTo1 | |
const TDesC8 & aDataTo2 | |
TDes8 & aDataFrom | |
TRequestStatus & aStatus |
IMPORT_C void | CustomCommandAsync | ( | const TMMFMessageDestinationPckg & | aDestination, |
TInt | aFunction, | |||
const TDesC8 & | aDataTo1, | |||
const TDesC8 & | aDataTo2, | |||
TRequestStatus & | aStatus | |||
) |
const TMMFMessageDestinationPckg & aDestination | |
TInt aFunction | |
const TDesC8 & aDataTo1 | |
const TDesC8 & aDataTo2 | |
TRequestStatus & aStatus |
IMPORT_C TInt | CustomCommandSync | ( | const TMMFMessageDestinationPckg & | aDestination, |
TInt | aFunction, | |||
const TDesC8 & | aDataTo1, | |||
const TDesC8 & | aDataTo2, | |||
TDes8 & | aDataFrom | |||
) |
const TMMFMessageDestinationPckg & aDestination | |
TInt aFunction | |
const TDesC8 & aDataTo1 | |
const TDesC8 & aDataTo2 | |
TDes8 & aDataFrom |
IMPORT_C TInt | CustomCommandSync | ( | const TMMFMessageDestinationPckg & | aDestination, |
TInt | aFunction, | |||
const TDesC8 & | aDataTo1, | |||
const TDesC8 & | aDataTo2 | |||
) |
const TMMFMessageDestinationPckg & aDestination | |
TInt aFunction | |
const TDesC8 & aDataTo1 | |
const TDesC8 & aDataTo2 |
IMPORT_C TAny * | CustomInterface | ( | TUid | aInterfaceId | ) |
TUid aInterfaceId |
IMPORT_C TInt | FixedSequenceCount | ( | ) |
IMPORT_C const TDesC & | FixedSequenceName | ( | TInt | aSequenceNumber | ) |
TInt aSequenceNumber |
IMPORT_C void | GetPlayBalanceL | ( | TInt & | aLeftPercentage, |
TInt & | aRightPercentage | |||
) |
IMPORT_C void | GetRecordBalanceL | ( | TInt & | aLeftPercentage, |
TInt & | aRightPercentage | |||
) |
IMPORT_C TInt | GetResourceNotificationData | ( | TUid | aEventType, |
TDes8 & | aNotificationData | |||
) |
IMPORT_C void | GetSupportedInputDataTypesL | ( | RArray< TFourCC > & | aSupportedDataTypes, |
const TMMFPrioritySettings & | aPrioritySettings | |||
) |
RArray< TFourCC > & aSupportedDataTypes | |
const TMMFPrioritySettings & aPrioritySettings |
IMPORT_C void | GetSupportedOutputDataTypesL | ( | RArray< TFourCC > & | aSupportedDataTypes, |
const TMMFPrioritySettings & | aPrioritySettings | |||
) |
RArray< TFourCC > & aSupportedDataTypes | |
const TMMFPrioritySettings & aPrioritySettings |
IMPORT_C TInt | GetTimePlayed | ( | TTimeIntervalMicroSeconds & | aTime | ) |
TTimeIntervalMicroSeconds & aTime |
IMPORT_C void | InitializeL | ( | MDevSoundObserver & | aDevSoundObserver, |
TMMFState | aMode, | |||
MMMFDevSoundCustomInterfaceObserver & | aDevSoundCIObserver | |||
) |
MDevSoundObserver & aDevSoundObserver | |
TMMFState aMode | |
MMMFDevSoundCustomInterfaceObserver & aDevSoundCIObserver | Observer which will receive Custom Interface events |
IMPORT_C void | InitializeL | ( | MDevSoundObserver & | aDevSoundObserver, |
TUid | aHWDev, | |||
TMMFState | aMode, | |||
MMMFDevSoundCustomInterfaceObserver & | aDevSoundCIObserver | |||
) |
MDevSoundObserver & aDevSoundObserver | |
TUid aHWDev | |
TMMFState aMode | |
MMMFDevSoundCustomInterfaceObserver & aDevSoundCIObserver | Observer which will receive Custom Interface events |
IMPORT_C void | InitializeL | ( | MDevSoundObserver & | aDevSoundObserver, |
TFourCC | aDesiredFourCC, | |||
TMMFState | aMode, | |||
MMMFDevSoundCustomInterfaceObserver & | aDevSoundCIObserver | |||
) |
MDevSoundObserver & aDevSoundObserver | |
TFourCC aDesiredFourCC | |
TMMFState aMode | |
MMMFDevSoundCustomInterfaceObserver & aDevSoundCIObserver | Observer which will receive Custom Interface events |
IMPORT_C TBool | IsResumeSupported | ( | ) |
IMPORT_C TInt | MaxGain | ( | ) |
IMPORT_C TInt | MaxVolume | ( | ) |
IMPORT_C void | Pause | ( | ) |
IMPORT_C void | PlayDTMFStringL | ( | const TDesC & | aDTMFString | ) |
const TDesC & aDTMFString |
IMPORT_C void | PlayData | ( | ) |
Plays data in the buffer at the current volume. The client should fill the buffer with audio data before calling this function. The observer gets a reference to the buffer along with the callback function BufferToBeFilled(). When playing of the audio sample is complete, successfully or otherwise, the function PlayError() on the observer is called. The last buffer of the audio stream being played should have the last buffer flag set using CMMFBuffer::SetLastBuffer(TBool). If a subsequent attempt to play the clip is made, this flag will need resetting by the client.
IMPORT_C void | PlayDualToneL | ( | TInt | aFrequencyOne, |
TInt | aFrequencyTwo, | |||
const TTimeIntervalMicroSeconds & | aDuration | |||
) |
TInt aFrequencyOne | |
TInt aFrequencyTwo | |
const TTimeIntervalMicroSeconds & aDuration |
IMPORT_C void | PlayFixedSequenceL | ( | TInt | aSequenceNumber | ) |
TInt aSequenceNumber |
IMPORT_C void | PlayInitL | ( | ) |
IMPORT_C void | PlayToneL | ( | TInt | aFrequency, |
const TTimeIntervalMicroSeconds & | aDuration | |||
) |
TInt aFrequency | |
const TTimeIntervalMicroSeconds & aDuration |
IMPORT_C void | PlayToneSequenceL | ( | const TDesC8 & | aData | ) |
const TDesC8 & aData |
IMPORT_C TInt | PostOpen | ( | ) |
Post open - called following successful open to complete open process. Allows async opening
IMPORT_C void | RecordData | ( | ) |
Contine the process of recording. Once the buffer is filled with recorded data, the Observer gets a reference to the buffer along with the callback function BufferToBeEmptied(). After processing the buffer (copying over to a different buffer or writing to file) the client should call this function to continue the recording process.
IMPORT_C void | RecordInitL | ( | ) |
IMPORT_C TInt | RegisterAsClient | ( | TUid | aEventType, |
const TDesC8 & | aNotificationRegistrationData = KNullDesC8 | |||
) |
TUid aEventType | |
const TDesC8 & aNotificationRegistrationData = KNullDesC8 |
IMPORT_C TInt | Resume | ( | ) |
void | SendEventToClient | ( | const TMMFEvent & | aEvent | ) |
const TMMFEvent & aEvent |
IMPORT_C TInt | SetClientThreadInfo | ( | TThreadId & | aTid | ) |
TThreadId & aTid |
IMPORT_C void | SetConfigL | ( | const TMMFCapabilities & | aConfig | ) |
const TMMFCapabilities & aConfig |
IMPORT_C void | SetDTMFLengths | ( | TTimeIntervalMicroSeconds32 & | aToneOnLength, |
TTimeIntervalMicroSeconds32 & | aToneOffLength, | |||
TTimeIntervalMicroSeconds32 & | aPauseLength | |||
) |
TTimeIntervalMicroSeconds32 & aToneOnLength | |
TTimeIntervalMicroSeconds32 & aToneOffLength | |
TTimeIntervalMicroSeconds32 & aPauseLength |
IMPORT_C TInt | SetDevSoundInfo | ( | ) |
IMPORT_C TInt | SetGain | ( | TInt | aGain | ) |
TInt aGain |
IMPORT_C void | SetPlayBalanceL | ( | TInt | aLeftPercentage, |
TInt | aRightPercentage | |||
) |
IMPORT_C void | SetPrioritySettings | ( | const TMMFPrioritySettings & | aPrioritySettings | ) |
const TMMFPrioritySettings & aPrioritySettings |
IMPORT_C void | SetRecordBalanceL | ( | TInt | aLeftPercentage, |
TInt | aRightPercentage | |||
) |
IMPORT_C void | SetToneRepeats | ( | TInt | aRepeatCount, |
const TTimeIntervalMicroSeconds & | aRepeatTrailingSilence | |||
) |
TInt aRepeatCount | |
const TTimeIntervalMicroSeconds & aRepeatTrailingSilence |
IMPORT_C TInt | SetVolume | ( | TInt | aVolume | ) |
TInt aVolume |
IMPORT_C void | SetVolumeRamp | ( | const TTimeIntervalMicroSeconds & | aRampDuration | ) |
const TTimeIntervalMicroSeconds & aRampDuration |
void | StartReceivingMsgQueueHandlerEventsL | ( | MMMFDevSoundCustomInterfaceObserver & | aDevSoundCIObserver | ) | [private] |
MMMFDevSoundCustomInterfaceObserver & aDevSoundCIObserver |
IMPORT_C TInt | SyncCustomCommand | ( | TUid | aUid, |
const TDesC8 & | aParam1, | |||
const TDesC8 & | aParam2, | |||
TDes8 * | aOutParam | |||
) |
EIdle = 0 | |
EInitializing | |
EInitialized | |
EPlaying | |
EPlayingBufferWait | |
ETonePlaying | |
ERecording | |
ERecordingBufferWait | |
ERecordingInLastBufferCycle | |
ERecordingResumingInLastBufferCycle |
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.