本文整理汇总了C#中FMOD.DSP_DESCRIPTION类的典型用法代码示例。如果您正苦于以下问题:C# DSP_DESCRIPTION类的具体用法?C# DSP_DESCRIPTION怎么用?C# DSP_DESCRIPTION使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
DSP_DESCRIPTION类属于FMOD命名空间,在下文中一共展示了DSP_DESCRIPTION类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: createDSP
public RESULT createDSP(ref DSP_DESCRIPTION description, out DSP dsp)
{
dsp = null;
IntPtr raw;
RESULT result = System.FMOD5_System_CreateDSP(this.rawPtr, ref description, out raw);
dsp = new DSP(raw);
return result;
}
示例2: FMOD_System_CreateDSP
private static extern RESULT FMOD_System_CreateDSP(IntPtr system, ref DSP_DESCRIPTION description, ref IntPtr dsp);
示例3: createDSP
public RESULT createDSP(ref DSP_DESCRIPTION description, ref DSP dsp)
{
RESULT result = RESULT.OK;
IntPtr dspraw = new IntPtr();
DSP dspnew = null;
try
{
result = FMOD_System_CreateDSP(systemraw, ref description, ref dspraw);
}
catch
{
result = RESULT.ERR_INVALID_PARAM;
}
if (result != RESULT.OK)
{
return result;
}
if (dsp == null)
{
dspnew = new DSP();
dspnew.setRaw(dspraw);
dsp = dspnew;
}
else
{
dsp.setRaw(dspraw);
}
return result;
}
示例4:
//private static extern RESULT FMOD_System_RegisterCodec (IntPtr system, out CODEC_DESCRIPTION description, out uint handle, uint priority);
//[DllImport(VERSION.dll)]
private static extern RESULT FMOD_System_RegisterDSP (IntPtr system, ref DSP_DESCRIPTION description, out uint handle);
示例5: DSP
public RESULT createDSP (ref DSP_DESCRIPTION description, out DSP dsp)
{
dsp = null;
IntPtr dspraw;
RESULT result = FMOD_System_CreateDSP(rawPtr, ref description, out dspraw);
dsp = new DSP(dspraw);
return result;
}
示例6: registerCodec
/*
public RESULT registerCodec(ref CODEC_DESCRIPTION description, out uint handle, uint priority)
{
return FMOD_System_RegisterCodec(rawPtr, ref description, out handle, priority);
}
*/
public RESULT registerDSP(ref DSP_DESCRIPTION description, out uint handle)
{
return FMOD_System_RegisterDSP(rawPtr, ref description, out handle);
}
示例7: CreateInputReadDsp
private void CreateInputReadDsp()
{
this.callback = this.ReadCallback;
var dspdesc = new DSP_DESCRIPTION();
dspdesc.numinputbuffers = 1;
dspdesc.numoutputbuffers = 1;
dspdesc.read = this.callback;
this.fmodSystem.createDSP(ref dspdesc, out this.recordDsp);
}