本文整理汇总了C++中TMMFMessage::ReadData1FromClient方法的典型用法代码示例。如果您正苦于以下问题:C++ TMMFMessage::ReadData1FromClient方法的具体用法?C++ TMMFMessage::ReadData1FromClient怎么用?C++ TMMFMessage::ReadData1FromClient使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TMMFMessage
的用法示例。
在下文中一共展示了TMMFMessage::ReadData1FromClient方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: DoApplyL
// ---------------------------------------------------------
// CListenerOrientationMessageHandler::DoApplyL
// Extracts the data from the message. The client bassboost data
// is applied to the CI bassboost object.
// ---------------------------------------------------------
//
void CListenerOrientationMessageHandler::DoApplyL(
TMMFMessage& aMessage )
{
TEfOrientationDataPckg orientationPckgFromClient;
aMessage.ReadData1FromClient(orientationPckgFromClient);
iListenerOrientation->SetEffectData(orientationPckgFromClient);
iListenerOrientation->ApplyL();
aMessage.Complete(KErrNone);
}
示例2: DoApplyL
// ---------------------------------------------------------
// CEnvironmentalReverbMessageHandler::DoApplyL
// Extracts the data from the message. The client EnvironmentalReverb
// data is applied to the CI EnvironmentalReverb object.
// ---------------------------------------------------------
//
void CEnvironmentalReverbMessageHandler::DoApplyL(
TMMFMessage& aMessage )
{
#ifdef _DEBUG
RDebug::Print(_L("CEnvironmentalReverbMessageHandler::DoApplyL"));
#endif
TEfEnvReverbDataPckg environmentalReverbPckgFromClient;
aMessage.ReadData1FromClient(environmentalReverbPckgFromClient);
iEnvironmentalReverb->SetEffectData(environmentalReverbPckgFromClient);
iEnvironmentalReverb->ApplyL();
aMessage.Complete(KErrNone);
}