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


C++ PluginLV2类代码示例

本文整理汇总了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);
}
开发者ID:unclechu,项目名称:guitarix,代码行数:8,代码来源:gx_studiopre.cpp

示例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);
}
开发者ID:funerally,项目名称:guitarix,代码行数:8,代码来源:gxtubedelay.cpp

示例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
}
开发者ID:unclechu,项目名称:guitarix,代码行数:9,代码来源:gx_studiopre.cpp

示例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);
}
开发者ID:funerally,项目名称:guitarix,代码行数:9,代码来源:gxtubedelay.cpp

示例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
}
开发者ID:funerally,项目名称:guitarix,代码行数:9,代码来源:gxtubedelay.cpp

示例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);
}
开发者ID:unclechu,项目名称:guitarix,代码行数:9,代码来源:gx_studiopre.cpp

示例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);
}
开发者ID:dafx,项目名称:guitarix,代码行数:7,代码来源:gx_echo.cpp

示例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);
}
开发者ID:dafx,项目名称:guitarix,代码行数:7,代码来源:gx_compressor.cpp

示例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);
}
开发者ID:dafx,项目名称:guitarix,代码行数:7,代码来源:gx_detune.cpp

示例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
}
开发者ID:dafx,项目名称:guitarix,代码行数:7,代码来源:gx_detune.cpp

示例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);
}
开发者ID:dafx,项目名称:guitarix,代码行数:7,代码来源:gx_mbdistortion.cpp

示例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);
}
开发者ID:dafx,项目名称:guitarix,代码行数:7,代码来源:gx_barkgraphiceq.cpp

示例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);
}
开发者ID:funerally,项目名称:guitarix,代码行数:7,代码来源:gxtubedelay.cpp

示例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);
}
开发者ID:unclechu,项目名称:guitarix,代码行数:7,代码来源:gx_studiopre.cpp

示例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);
}
开发者ID:dafx,项目名称:guitarix,代码行数:7,代码来源:gx_compressor.cpp


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