namespace Susurrus.XAudio2 { /// /// The position of each method this module calls in the vtable of a voice. A voice isn't a COM object, so its /// methods start at slot zero with none from IUnknown ahead of them. /// public static class VoiceSlots { public const int GetVoiceDetails = 0; public const int SetEffectChain = 2; public const int EnableEffect = 3; public const int DisableEffect = 4; public const int SetVolume = 12; public const int SetOutputMatrix = 16; public const int GetOutputMatrix = 17; public const int DestroyVoice = 18; public const int Start = 19; public const int Stop = 20; public const int SubmitSourceBuffer = 21; public const int FlushSourceBuffers = 22; public const int GetState = 25; public const int SetFrequencyRatio = 26; public const int GetFrequencyRatio = 27; public const int SetSourceSampleRate = 28; } }