本文整理汇总了C#中DSP_RESAMPLER类的典型用法代码示例。如果您正苦于以下问题:C# DSP_RESAMPLER类的具体用法?C# DSP_RESAMPLER怎么用?C# DSP_RESAMPLER使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
DSP_RESAMPLER类属于命名空间,在下文中一共展示了DSP_RESAMPLER类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: AdvancedInitializationSettings
public AdvancedInitializationSettings(
int maxMpegCodecs = 0, int maxAdpcmCodecs = 0, int maxXmaCodecs = 0, int maxVorbisCodecs = 0, int maxAT9Codecs = 0, int asioNumChannels = 0,
float hrtfMinAngle = 0, float hrtfMaxAngle = 0, float hrtfFreq = 0, float vol0VirtualVol = 0, uint defaultDecodeBufferSize = 0, ushort profilePort = 0,
uint geometryMaxFadeTime = 0, float distanceFilterCenterFreq = 0, int reverb3Dinstance = 0, int dspBufferPoolSize = 0, uint stackSizeStream = 0,
uint stackSizeNonBlocking = 0, uint stackSizeMixer = 0, DSP_RESAMPLER resamplerMethod = DSP_RESAMPLER.DEFAULT, uint commandQueueSize = 0, uint randomSeed = 0)
: this()
{
MaxMpegCodecs = maxMpegCodecs;
MaxAdpcmCodecs = maxAdpcmCodecs;
MaxXmaCodecs = maxXmaCodecs;
MaxVorbisCodecs = maxVorbisCodecs;
MaxAT9Codecs = maxAT9Codecs;
AsioNumChannels = asioNumChannels;
HrtfMinAngle = hrtfMinAngle;
HrtfMaxAngle = hrtfMaxAngle;
HrtfFreq = hrtfFreq;
Vol0VirtualVol = vol0VirtualVol;
DefaultDecodeBufferSize = defaultDecodeBufferSize;
ProfilePort = profilePort;
GeometryMaxFadeTime = geometryMaxFadeTime;
DistanceFilterCenterFreq = distanceFilterCenterFreq;
Reverb3Dinstance = reverb3Dinstance;
DSPBufferPoolSize = dspBufferPoolSize;
StackSizeStream = stackSizeStream;
StackSizeNonBlocking = stackSizeNonBlocking;
StackSizeMixer = stackSizeMixer;
ResamplerMethod = resamplerMethod;
CommandQueueSize = commandQueueSize;
RandomSeed = randomSeed;
}
示例2: FMOD_System_SetSoftwareFormat
private static extern RESULT FMOD_System_SetSoftwareFormat(IntPtr system, int samplerate, SOUND_FORMAT format, int numoutputchannels, int maxinputchannels, DSP_RESAMPLER resamplemethod);
示例3: FMOD_System_GetSoftwareFormat
private static extern RESULT FMOD_System_GetSoftwareFormat(IntPtr system, ref int samplerate, ref SOUND_FORMAT format, ref int numoutputchannels, ref int maxinputchannels, ref DSP_RESAMPLER resamplemethod, ref int bits);
示例4: setSoftwareFormat
public RESULT setSoftwareFormat(int samplerate, SOUND_FORMAT format, int numoutputchannels, int maxinputchannels, DSP_RESAMPLER resamplemethod)
{
return FMOD_System_SetSoftwareFormat(systemraw, samplerate, format, numoutputchannels, maxinputchannels, resamplemethod);
}
示例5: getSoftwareFormat
public RESULT getSoftwareFormat(ref int samplerate, ref SOUND_FORMAT format, ref int numoutputchannels, ref int maxinputchannels, ref DSP_RESAMPLER resamplemethod, ref int bits)
{
return FMOD_System_GetSoftwareFormat(systemraw, ref samplerate, ref format, ref numoutputchannels, ref maxinputchannels, ref resamplemethod, ref bits);
}