本文整理汇总了C++中Shuttle::TransferFloat方法的典型用法代码示例。如果您正苦于以下问题:C++ Shuttle::TransferFloat方法的具体用法?C++ Shuttle::TransferFloat怎么用?C++ Shuttle::TransferFloat使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Shuttle
的用法示例。
在下文中一共展示了Shuttle::TransferFloat方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: TransferParameters
bool EffectPhaser::TransferParameters( Shuttle & shuttle )
{
shuttle.TransferInt(wxT("Stages"),stages,2);
shuttle.TransferInt(wxT("Wet"),drywet,128);
shuttle.TransferFloat(wxT("Freq"),freq,0.4f);
shuttle.TransferInt(wxT("Depth"),depth,100);
shuttle.TransferFloat(wxT("Feedback"),fb,0.0f);
return true;
}
示例2: TransferParameters
bool EffectWahwah::TransferParameters( Shuttle & shuttle )
{
shuttle.TransferFloat(wxT("Freq"),freq,1.5f);
shuttle.TransferFloat(wxT("Phase"),startphase,0.0f);
shuttle.TransferFloat(wxT("Depth"),depth,0.7f);
shuttle.TransferFloat(wxT("Resonance"),res,2.5f);
shuttle.TransferFloat(wxT("Offset"),freqofs,0.3f);
return true;
}
示例3: TransferParameters
bool EffectAmplify::TransferParameters( Shuttle & shuttle )
{
shuttle.TransferFloat( wxT("Ratio"), ratio, 0.9f );
return true;
}
示例4: TransferParameters
bool EffectPaulstretch::TransferParameters(Shuttle &shuttle){
shuttle.TransferFloat(wxT("Stretch Factor"),amount,10.0);
shuttle.TransferFloat(wxT("Time Resolution"),time_resolution,0.25);
return true;
};
示例5: TransferParameters
bool EffectBassBoost::TransferParameters( Shuttle & shuttle )
{
shuttle.TransferFloat(wxT("Boost"),dB_boost,0.0);
shuttle.TransferFloat(wxT("Freq"),frequency,0.0);
return true;
}
示例6: TransferParameters
bool EffectEcho::TransferParameters( Shuttle & shuttle )
{
shuttle.TransferFloat(wxT("Delay"),delay,1.0);
shuttle.TransferFloat(wxT("Decay"),decay,0.5);
return true;
}