0
0

Can I load more that one WinAmp plugin ?

I tried like this but it loads the same plugin twice and if sounds terible…

C#

[code:166adwek]

private FMOD.System m_system = null;
private FMOD.Sound m_sound = null;
private FMOD.Channel m_channel = null;
private FMOD.DSP m_dsp=null;
private FMOD.DSP m_dsp2=null;

//Init Fmod
m_system.setOutput(FMOD.OUTPUTTYPE.DSOUND);
m_system.setSoftwareFormat(44100,FMOD.SOUND_FORMAT.PCM16,2,2);

        result = m_system.init(1, FMOD.INITFLAG.NORMAL, (IntPtr)null);
        ERRCHECK(result);

[/code:166adwek]

[code:166adwek]FMOD.RESULT result;
FMOD.PLUGINTYPE m_dspType = FMOD.PLUGINTYPE.DSP;
int m_dspIndex=0;
int m_dspIndex2=1;

        string pluginName= @"C:\audioplugins\dsp_ss131b.dll";

        result = m_system.loadPlugin(pluginName,ref m_dspType,ref m_dspIndex);
        result = m_system.createDSPByType(FMOD.DSP_TYPE.WINAMPPLUGIN, ref m_dsp);

        string pluginName2= @"C:\audioplugins\dsp_enh.dll";

        result = m_system.loadPlugin(pluginName2,ref m_dspType,ref m_dspIndex2);
        result = m_system.createDSPByType(FMOD.DSP_TYPE.WINAMPPLUGIN, ref m_dsp2);


        m_channel.addDSP(m_dsp);
        m_channel.addDSP(m_dsp2);

        //m_system.addDSP(m_dsp);

[/code:166adwek]

  • You must to post comments
0
0

Thx, I try that.

I quickly tested to get the name of ny WinAmp plugin with DSP::getInfo but didnt get the name, does getInfo work on winamp dsp ?

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.