当前位置: 首页>>代码示例>>C++>>正文


C++ TMMFMessage::Function方法代码示例

本文整理汇总了C++中TMMFMessage::Function方法的典型用法代码示例。如果您正苦于以下问题:C++ TMMFMessage::Function方法的具体用法?C++ TMMFMessage::Function怎么用?C++ TMMFMessage::Function使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在TMMFMessage的用法示例。


在下文中一共展示了TMMFMessage::Function方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: DoHandleRequestL

// ---------------------------------------------------------
// CListenerOrientationMessageHandler::DoHandleRequestL
// Dispatches the message to the appropriate handler.
// ---------------------------------------------------------
//
void CListenerOrientationMessageHandler::DoHandleRequestL(
	TMMFMessage& aMessage )
	{
	switch( aMessage.Function() )
		{
		case ELofInitialize: // Request to initialize the bassboost
			{
			DoInitializeL(aMessage);
			break;
			}
		case ELofApply: // Request to apply the bassboost settings
			{
			DoApplyL(aMessage);
			break;
			}
		case ELofObserve: // Observation request
			{
			DoObserveL(aMessage);
			break;
			}
		default:
			{
			aMessage.Complete(KErrNotSupported);
			}
		}
	}
开发者ID:kuailexs,项目名称:symbiandump-os1,代码行数:31,代码来源:ListenerOrientationMessageHandler.cpp

示例2: DoHandleRequestL

// ---------------------------------------------------------
// CIlbcEncoderIntfcMsgHdlr::DoHandleRequestL
// Determines which custom interface to call.
// (other items were commented in a header).
// ---------------------------------------------------------
//
void CIlbcEncoderIntfcMsgHdlr::DoHandleRequestL(TMMFMessage& aMessage)
	{
	switch(aMessage.Function())
		{
		case EIlbceimSetEncoderMode:
			{
    		DoSetEncoderModeL(aMessage);
			break;
			}
		case EIlbceimSetVadMode:
			{
			DoSetVadModeL(aMessage);
			break;
			}
		case EIlbceimGetVadMode:
			{
			DoGetVadModeL(aMessage);
			break;
			}
		default:
			{
			aMessage.Complete(KErrNotSupported);
			}
		}
	}
开发者ID:kuailexs,项目名称:symbiandump-os1,代码行数:31,代码来源:IlbcEncoderIntfcMsgHdlr.cpp

示例3: DoHandleRequestL

// ---------------------------------------------------------
// CEnvironmentalReverbMessageHandler::DoHandleRequestL
// Dispatches the message to the appropriate handler.
// ---------------------------------------------------------
//
void CEnvironmentalReverbMessageHandler::DoHandleRequestL(
	TMMFMessage& aMessage )
	{
	switch( aMessage.Function() )
		{
		case EErfInitialize:
			{
			DoInitializeL(aMessage);
			break;
			}
		case EErfApply:
			{
			DoApplyL(aMessage);
			break;
			}
		case EErfObserve:
			{
			DoObserveL(aMessage);
			break;
			}
			
			
			
		default:
			{
			aMessage.Complete(KErrNotSupported);
			}
		}
	}
开发者ID:kuailexs,项目名称:symbiandump-os1,代码行数:34,代码来源:EnvironmentalReverbMessageHandler.cpp

示例4: DoHandleRequestL

// ---------------------------------------------------------
// CErrorConcealmentIntfcMsgHdlr::DoHandleRequestL
// Determines which custom interface to call.
// (other items were commented in a header).
// ---------------------------------------------------------
//
void CErrorConcealmentIntfcMsgHdlr::DoHandleRequestL(TMMFMessage& aMessage)
	{
	switch(aMessage.Function())
		{
		case EEcimConcealError:
			{
    		DoConcealErrorForNextBufferL(aMessage);
			break;
			}
		case EEcimSetFrameMode:
			{
    		DoSetFrameModeL(aMessage);
			break;
			}
		case EEcimFrameModeRqrd:
			{
    		DoFrameModeRqrdForEcL(aMessage);
			break;
			}
		default:
			{
			aMessage.Complete(KErrNotSupported);
			}
		}
	}
开发者ID:kuailexs,项目名称:symbiandump-os1,代码行数:31,代码来源:ErrorConcealmentIntfcMsgHdlr.cpp

示例5: DoHandleRequestL

// ---------------------------------------------------------
// CAacDecoderConfigMsgHdlr::DoHandleRequestL
// Determines which custom interface to call.
// (other items were commented in a header).
// ---------------------------------------------------------
//
void CAacDecoderConfigMsgHdlr::DoHandleRequestL(TMMFMessage& aMessage)
	{
	switch(aMessage.Function())
		{
		case EAdcmSetConfig:
			{
    		DoSetAudioConfigL(aMessage);
			break;
			}
		default:
			{
			aMessage.Complete(KErrNotSupported);
			}
		}
	}
开发者ID:kuailexs,项目名称:symbiandump-os1,代码行数:21,代码来源:AacDecoderConfigMsgHdlr.cpp

示例6: HandleRequest

void CMMFDurationInfoCustomCommandParser::HandleRequest(TMMFMessage& aMessage)
	{
	TInt err = KErrNotSupported;
	
	if (aMessage.Destination().InterfaceId() == KUidInterfaceMMFDurationInfoControl)
		{
		switch (aMessage.Function())
			{
		case EMMFGetDurationInfo:
			err = GetDurationInfo(aMessage);
			break;
		default:
			err = KErrNotSupported;
			break;
			}
		}

	aMessage.Complete(err);
	}
开发者ID:kuailexs,项目名称:symbiandump-os1,代码行数:19,代码来源:MMFDurationInfoCustomCommands.cpp

示例7: DoHandleRequest

// Internal request handling methods.
TInt CStreamControlCustomCommandParser::DoHandleRequest( TMMFMessage& aMessage )
    {
    TInt status = KErrNotSupported;
    switch (aMessage.Function())
        {
        case EEnableEvents:
            status = DoEnableEvents(aMessage);
            break;
        case EGetSeekingSupported:
            status = DoGetSeekingSupported(aMessage);
            break;
        case EGetRandomSeekingSupported:
            status = DoGetRandomSeekingSupported(aMessage);
            break;
        default:
            break;
        }
    return status;	
    }
开发者ID:kuailexs,项目名称:symbiandump-mw2,代码行数:20,代码来源:StreamControlCustomCommands.cpp

示例8:

// -----------------------------------------------------------------------------
// CRa8CustomInterfaceMsgHdlr::DoHandleRequestL
// Determines which custom interface to call.
// (other items were commented in a header).
// -----------------------------------------------------------------------------
//
void CRa8CustomInterfaceMsgHdlr::DoHandleRequestL(TMMFMessage& aMessage)
	{
	switch (aMessage.Function())
		{
		case ERa8CiFrameNumber:
			{
    		DoFrameNumberL(aMessage);
			break;
			}
		case ERa8CiSetInitString:
			{
    		DoSetInitStringL(aMessage);
			break;
			}
		default:
			{
			aMessage.Complete(KErrNotSupported);
			}
		}
	}
开发者ID:kuailexs,项目名称:symbiandump-os1,代码行数:26,代码来源:ra8custominterfacemsghdlr.cpp

示例9: DoHandleRequestL

void CMidiCustomCommandParser::DoHandleRequestL(TMMFMessage& aMessage)
	{
	TBool complete = ETrue;
	switch (aMessage.Function())
		{
	case EMMFMidiControllerSetPositionMicroBeats:
		complete = DoSetPositionMicroBeatsL(aMessage);
		break;
	case EMMFMidiControllerPositionMicroBeats:
		complete = DoPositionMicroBeatsL(aMessage);
		break;
	case EMMFMidiControllerPlayNote:
		complete = DoPlayNoteL(aMessage);
		break;
	case EMMFMidiControllerPlayNoteWithStartTime:
		complete = DoPlayNoteWithStartTimeL(aMessage);
		break;
	case EMMFMidiControllerStopNotes:
		complete = DoStopNotesL(aMessage);
		break;
	case EMMFMidiControllerNoteOn:
		complete = DoNoteOnL(aMessage);
		break;
	case EMMFMidiControllerNoteOff:
		complete = DoNoteOffL(aMessage);
		break;
	case EMMFMidiControllerPlaybackRate:
		complete = DoPlaybackRateL(aMessage);
		break;
	case EMMFMidiControllerSetPlaybackRate:
		complete = DoSetPlaybackRateL(aMessage);
		break;
	case EMMFMidiControllerMaxPlaybackRate:
		complete = DoMaxPlaybackRateL(aMessage);
		break;
	case EMMFMidiControllerMinPlaybackRate:
		complete = DoMinPlaybackRateL(aMessage);
		break;
	case EMMFMidiControllerTempo:
		complete = DoTempoMicroBeatsPerMinuteL(aMessage);
		break;
	case EMMFMidiControllerSetTempo:
		complete = DoSetTempoL(aMessage);
		break;
	case EMMFMidiControllerPitch:
		complete = DoPitchTranspositionCentsL(aMessage);
		break;
	case EMMFMidiControllerSetPitch:
		complete = DoSetPitchTranspositionL(aMessage);
		break;
	case EMMFMidiControllerDurationMicroBeats:
		complete = DoDurationMicroBeatsL(aMessage);
		break;
	case EMMFMidiControllerNumTracks:
		complete = DoNumTracksL(aMessage);
		break;
	case EMMFMidiControllerSetTrackMute:
		complete = DoSetTrackMuteL(aMessage);
		break;
	case EMMFMidiControllerMimeType:
		complete = DoMimeTypeL(aMessage);
		break;
	case EMMFMidiControllerSetSyncUpdateCallbackInterval:
		complete = DoSetSyncUpdateCallbackIntervalL(aMessage);
		break;
	case EMMFMidiControllerSendMessage:
		complete = DoSendMessageL(aMessage);
		break;
	case EMMFMidiControllerSendMessageWithTimeStamp:
		complete = DoSendMessageWithTimeStampL(aMessage);
		break;
	case EMMFMidiControllerSendMipMessage:
		complete = DoSendMipMessageL(aMessage);
		break;
	case EMMFMidiControllerNumberOfBanks:
		complete = DoNumberOfBanksL(aMessage);
		break;
	case EMMFMidiControllerGetBankId:
		complete = DoGetBankIdL(aMessage);
		break;
	case EMMFMidiControllerLoadCustomBank:
		complete = DoLoadCustomBankL(aMessage);
		break;
	case EMMFMidiControllerLoadCustomBankData:
		complete = DoLoadCustomBankDataL(aMessage);
		break;
	case EMMFMidiControllerUnloadCustomBank:
		complete = DoUnloadCustomBankL(aMessage);
		break;
	case EMMFMidiControllerCustomBankLoaded:
		complete = DoCustomBankLoadedL(aMessage);
		break;
	case EMMFMidiControllerUnloadAllCustomBanks:
		complete = DoUnloadAllCustomBanksL(aMessage);
		break;
	case EMMFMidiControllerNumberOfInstruments:
		complete = DoNumberOfInstrumentsL(aMessage);
		break;
	case EMMFMidiControllerGetInstrumentId:
		complete = DoGetInstrumentIdL(aMessage);
//.........这里部分代码省略.........
开发者ID:kuailexs,项目名称:symbiandump-os1,代码行数:101,代码来源:midicustomcommandparser.cpp


注:本文中的TMMFMessage::Function方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。