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;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 private static extern RESULT FMOD_System_SetSoftwareFormat(IntPtr system, int samplerate, SOUND_FORMAT format, int numoutputchannels, int maxinputchannels, DSP_RESAMPLER resamplemethod);
Esempio n. 4
0
 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);
Esempio n. 5
0
 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);
 }
Esempio n. 6
0
 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);
 }