本文整理汇总了C++中PluginLV2类的典型用法代码示例。如果您正苦于以下问题:C++ PluginLV2类的具体用法?C++ PluginLV2怎么用?C++ PluginLV2使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了PluginLV2类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: run_dsp_mono
void Gx_studiopre::run_dsp_mono(uint32_t n_samples)
{
#ifndef __SSE__
wn->mono_audio(static_cast<int>(n_samples), input, input, wn);;
#endif
studiopre_mono->mono_audio(static_cast<int>(n_samples), input,
output, studiopre_mono);
}
示例2: run_dsp_mono
void GxTubeDelay::run_dsp_mono(uint32_t n_samples)
{
#ifndef __SSE__
wn->mono_audio(static_cast<int>(n_samples), input, input, wn);;
#endif
tubedelay->mono_audio(static_cast<int>(n_samples), input,
output, tubedelay);
}
示例3: init_dsp_mono
void Gx_studiopre::init_dsp_mono(uint32_t rate)
{
AVOIDDENORMALS(); // init the SSE denormal protection
#ifndef __SSE__
wn = noiser::plugin();
wn->set_samplerate(rate, wn);
#endif
studiopre_mono->set_samplerate(rate, studiopre_mono); // init the DSP class
}
示例4: clean_up
void GxTubeDelay::clean_up()
{
#ifndef __SSE__
wn->delete_instance(wn);;
#endif
// delete the internal DSP mem
if (tubedelay->activate_plugin !=0)
tubedelay->activate_plugin(false, tubedelay);
}
示例5: init_dsp_mono
void GxTubeDelay::init_dsp_mono(uint32_t rate)
{
AVOIDDENORMALS(); // init the SSE denormal protection
#ifndef __SSE__
wn = noiser::plugin();
wn->set_samplerate(rate, wn);
#endif
tubedelay->set_samplerate(rate, tubedelay); // init the DSP class
}
示例6: clean_up
void Gx_studiopre::clean_up()
{
#ifndef __SSE__
wn->delete_instance(wn);;
#endif
// delete the internal DSP mem
if (studiopre_mono->activate_plugin !=0)
studiopre_mono->activate_plugin(false, studiopre_mono);
}
示例7: connect_all_stereo_ports
void Gx_echo_stereo::connect_all_stereo_ports(uint32_t port, void* data)
{
// connect the Ports used by the plug-in class
connect_stereo(port,data);
// connect the Ports used by the DSP class
echo_st->connect_ports(port, data, echo_st);
}
示例8: deactivate_f
void Gx_compressor::deactivate_f()
{
// free the allocated internal DSP mem
// check if the function is valid
if (compressor_st->activate_plugin !=0)
compressor_st->activate_plugin(false, compressor_st);
}
示例9: connect_all__ports
void Gx_detune_::connect_all__ports(uint32_t port, void* data)
{
// connect the Ports used by the plug-in class
connect_(port,data);
// connect the Ports used by the DSP class
detune->connect_ports(port, data, detune);
}
示例10: init_dsp_
void Gx_detune_::init_dsp_(uint32_t rate, uint32_t bufsize_)
{
AVOIDDENORMALS(); // init the SSE denormal protection
bufsize = bufsize_;
detune::smbPitchShift::set_buffersize(detune, bufsize);
detune->set_samplerate(rate, detune); // init the DSP class
}
示例11: connect_all__ports
void Gx_mbdistortion_::connect_all__ports(uint32_t port, void* data)
{
// connect the Ports used by the plug-in class
connect_(port,data);
// connect the Ports used by the DSP class
mbdistortion->connect_ports(port, data, mbdistortion);
}
示例12: connect_all__ports
void Gx_barkgraphiceq_::connect_all__ports(uint32_t port, void* data)
{
// connect the Ports used by the plug-in class
connect_(port,data);
// connect the Ports used by the DSP class
barkgraphiceq->connect_ports(port, data, barkgraphiceq);
}
示例13: connect_all_mono_ports
void GxTubeDelay::connect_all_mono_ports(uint32_t port, void* data)
{
// connect the Ports used by the plug-in class
connect_mono(port,data);
// connect the Ports used by the DSP class
tubedelay->connect_ports(port, data, tubedelay);
}
示例14: connect_all_mono_ports
void Gx_studiopre::connect_all_mono_ports(uint32_t port, void* data)
{
// connect the Ports used by the plug-in class
connect_mono(port,data);
// connect the Ports used by the DSP class
studiopre_mono->connect_ports(port, data, studiopre_mono);
}
示例15: clean_up
void Gx_compressor::clean_up()
{
// delete the internal DSP mem
// check if the function is valid
if (compressor_st->activate_plugin !=0)
compressor_st->activate_plugin(false, compressor_st);
}