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


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

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


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

示例1: DoSetPlaybackRateL

TBool CMidiCustomCommandParser::DoSetPlaybackRateL(TMMFMessage& aMessage)
	{
	TPckgBuf<TMMFMidiConfig3> pckg;
	aMessage.ReadData1FromClientL(pckg);
	iImplementor.MmcSetPlaybackRateL(pckg().iPlayBackRate);
	return ETrue;
	}
开发者ID:kuailexs,项目名称:symbiandump-os1,代码行数:7,代码来源:midicustomcommandparser.cpp

示例2: DoNoteOffL

TBool CMidiCustomCommandParser::DoNoteOffL(TMMFMessage& aMessage)
	{
	TPckgBuf<TMMFMidiConfig2> pckg;
	aMessage.ReadData1FromClientL(pckg);
	iImplementor.MmcNoteOffL(pckg().iChannel, pckg().iNote, pckg().iNoteOffVelocity);
	return ETrue;
	}
开发者ID:kuailexs,项目名称:symbiandump-os1,代码行数:7,代码来源:midicustomcommandparser.cpp

示例3: DoUnloadCustomInstrumentL

TBool CMidiCustomCommandParser::DoUnloadCustomInstrumentL(TMMFMessage& aMessage)
	{
	TPckgBuf<TMMFMidiConfig2> pckg;
	aMessage.ReadData1FromClientL(pckg);
	iImplementor.MmcUnloadCustomInstrumentL(pckg().iBankId, pckg().iInstrumentId);
	return ETrue;
	}
开发者ID:kuailexs,项目名称:symbiandump-os1,代码行数:7,代码来源:midicustomcommandparser.cpp

示例4: DoSetVadModeL

// ---------------------------------------------------------
// CIlbcEncoderIntfcMsgHdlr::DoSetVadModeL
// Handles the message from the proxy and calls the custom interface method.
// The data passed from the proxy is read from the message and passed to
// the custom interface.
// (other items were commented in a header).
// ---------------------------------------------------------
//
void CIlbcEncoderIntfcMsgHdlr::DoSetVadModeL(TMMFMessage& aMessage)
	{
	TPckgBuf<TBool> pckgBuf;
	aMessage.ReadData1FromClientL(pckgBuf);
	TInt status = iIlbcEncoderIntfcCI->SetVadMode(pckgBuf());
    aMessage.Complete(status);
	}
开发者ID:kuailexs,项目名称:symbiandump-os1,代码行数:15,代码来源:IlbcEncoderIntfcMsgHdlr.cpp

示例5: DoSetRepeatsL

TBool CMidiCustomCommandParser::DoSetRepeatsL(TMMFMessage& aMessage)
	{
	TPckgBuf<TMMFMidiConfig3> pckg;
	aMessage.ReadData1FromClientL(pckg);
	iImplementor.MmcSetRepeatsL(pckg().iRepeatNumberOfTimes, pckg().iTrailingSilence);
	return ETrue;
	}
开发者ID:kuailexs,项目名称:symbiandump-os1,代码行数:7,代码来源:midicustomcommandparser.cpp

示例6: DoStopL

TBool CMidiCustomCommandParser::DoStopL(TMMFMessage& aMessage)
	{
	TPckgBuf<TMMFMidiConfig1> pckg;
	aMessage.ReadData1FromClientL(pckg);
	iImplementor.MmcStopL(pckg().iFadeOutDuration);
	return ETrue;
	}
开发者ID:kuailexs,项目名称:symbiandump-os1,代码行数:7,代码来源:midicustomcommandparser.cpp

示例7: DoSetBankL

TBool CMidiCustomCommandParser::DoSetBankL(TMMFMessage& aMessage)
	{
	TPckgBuf<TMMFMidiConfig2> pckg;
	aMessage.ReadData1FromClientL(pckg);
	iImplementor.MmcSetBankL(pckg().iCustom);
	return ETrue;
	}
开发者ID:kuailexs,项目名称:symbiandump-os1,代码行数:7,代码来源:midicustomcommandparser.cpp

示例8: DoSetSyncUpdateCallbackIntervalL

TBool CMidiCustomCommandParser::DoSetSyncUpdateCallbackIntervalL(TMMFMessage& aMessage)
	{
	TPckgBuf<TMMFMidiConfig3> pckg;
	aMessage.ReadData1FromClientL(pckg);
	iImplementor.MmcSetSyncUpdateCallbackIntervalL(pckg().iCallbackIntervalMicroSeconds, pckg().iCallbackIntervalMicroBeats);
	return ETrue;
	}
开发者ID:kuailexs,项目名称:symbiandump-os1,代码行数:7,代码来源:midicustomcommandparser.cpp

示例9: DoSetMaxPolyphonyL

TBool CMidiCustomCommandParser::DoSetMaxPolyphonyL(TMMFMessage& aMessage)
	{
	TPckgBuf<TMMFMidiConfig1> pckg;
	aMessage.ReadData1FromClientL(pckg);
	iImplementor.MmcSetMaxPolyphonyL(pckg().iMaxNotes);
	return ETrue;
	}
开发者ID:kuailexs,项目名称:symbiandump-os1,代码行数:7,代码来源:midicustomcommandparser.cpp

示例10: DoPlayNoteWithStartTimeL

TBool CMidiCustomCommandParser::DoPlayNoteWithStartTimeL(TMMFMessage& aMessage)
	{
	TPckgBuf<TMMFMidiConfig2> pckg;
	aMessage.ReadData1FromClientL(pckg);
	iImplementor.MmcPlayNoteL(pckg().iChannel, pckg().iNote, pckg().iStartTime, pckg().iDurationMicroSeconds, pckg().iNoteOnVelocity, pckg().iNoteOffVelocity);
	return ETrue;
	}
开发者ID:kuailexs,项目名称:symbiandump-os1,代码行数:7,代码来源:midicustomcommandparser.cpp

示例11: DoPercussionKeyNameL

TBool CMidiCustomCommandParser::DoPercussionKeyNameL(TMMFMessage& aMessage)
	{
	TPckgBuf<TMMFMidiConfig2> pckg;
	aMessage.ReadData1FromClientL(pckg);

	// Prevent memory leaks by deleting old key name - something must have gone wrong in the client
	// if it already exists
	delete iPercussionKeyName;
	iPercussionKeyName = NULL;

	const TDesC& percussionKeyName = iImplementor.MmcPercussionKeyNameL(pckg().iNote, pckg().iBankId, pckg().iCustom, pckg().iInstrumentId);

	iPercussionKeyName = CBufFlat::NewL(32);
	RBufWriteStream stream;
	stream.Open(*iPercussionKeyName);
	CleanupClosePushL(stream);
	stream << percussionKeyName;
	CleanupStack::PopAndDestroy();//s

	// Write the size of the descriptor back to the client
	TPckgBuf<TInt> descriptorSizePckg(iPercussionKeyName->Ptr(0).Length());	
	aMessage.WriteDataToClientL(descriptorSizePckg);	
	
	return ETrue;
	}
开发者ID:kuailexs,项目名称:symbiandump-os1,代码行数:25,代码来源:midicustomcommandparser.cpp

示例12: DoSetFrameModeL

// ---------------------------------------------------------
// CErrorConcealmentIntfcMsgHdlr::DoSetFrameModeL
// Handles the message from the proxy and calls the custom interface method.
// The data passed from the proxy is read from the message and passed to
// the custom interface.
// (other items were commented in a header).
// ---------------------------------------------------------
//
void CErrorConcealmentIntfcMsgHdlr::DoSetFrameModeL(TMMFMessage& aMessage)
    {
	TPckgBuf<TBool> pckg;
	aMessage.ReadData1FromClientL(pckg);
	TInt status = iErrorConcealmentIntfcCI->SetFrameMode(pckg());
    aMessage.Complete(status);
    }
开发者ID:kuailexs,项目名称:symbiandump-os1,代码行数:15,代码来源:ErrorConcealmentIntfcMsgHdlr.cpp

示例13: DoSetAudioConfigL

// ---------------------------------------------------------
// CAacDecoderConfigMsgHdlr::DoSetAudioConfigL
// Handles the message from the proxy and calls the custom interface method.
// (other items were commented in a header).
// ---------------------------------------------------------
//
void CAacDecoderConfigMsgHdlr::DoSetAudioConfigL(TMMFMessage& aMessage)
    {
	TPckgBuf<TAudioConfig> pckg;
	aMessage.ReadData1FromClientL(pckg);
	TInt status = iAacDecoderConfigCI->SetAudioConfig(pckg());
    aMessage.Complete(status);
    }
开发者ID:kuailexs,项目名称:symbiandump-os1,代码行数:13,代码来源:AacDecoderConfigMsgHdlr.cpp

示例14: DoIsChannelMuteL

TBool CMidiCustomCommandParser::DoIsChannelMuteL(TMMFMessage& aMessage)
	{
	TPckgBuf<TMMFMidiConfig2> pckg;
	aMessage.ReadData1FromClientL(pckg);
	TBool mute;
	iImplementor.MmcIsChannelMuteL(pckg().iChannel, mute);
	pckg().iMuted = mute;
	aMessage.WriteDataToClientL(pckg);
	return ETrue;
	}
开发者ID:kuailexs,项目名称:symbiandump-os1,代码行数:10,代码来源:midicustomcommandparser.cpp

示例15: DoGetInstrumentIdL

TBool CMidiCustomCommandParser::DoGetInstrumentIdL(TMMFMessage& aMessage)
	{
	TPckgBuf<TMMFMidiConfig2> pckg;
	aMessage.ReadData1FromClientL(pckg);
	TInt instrumentId;
	iImplementor.MmcGetInstrumentIdL(pckg().iBankId, pckg().iCustom, pckg().iInstrumentIndex, instrumentId);
	pckg().iInstrumentId = instrumentId;
	aMessage.WriteDataToClientL(pckg);
	return ETrue;
	}
开发者ID:kuailexs,项目名称:symbiandump-os1,代码行数:10,代码来源:midicustomcommandparser.cpp


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