<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_EFFECT_DESCRIPTOR']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_EFFECT_DESCRIPTOR::pEffect']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_EFFECT_DESCRIPTOR::OutputChannels']/*"/>
<unmanaged>unsigned int OutputChannels</unmanaged>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_EFFECT_DESCRIPTOR::InitialState']/*"/>
<unmanaged>BOOL InitialState</unmanaged>
</member>
<membername="T:SharpDX.XAudio2.AudioBuffer">
<summary>
IXAudio2SourceVoice::SubmitSourceBuffer
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_BUFFER']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_BUFFER::Flags']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_BUFFER::AudioBytes']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_BUFFER::pAudioData']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_BUFFER::PlayBegin']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_BUFFER::PlayLength']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_BUFFER::LoopBegin']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_BUFFER::LoopLength']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_BUFFER::LoopCount']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_BUFFER::pContext']/*"/>
Gets or sets the datastream associated to this audio buffer
</summary>
<value>The stream.</value>
</member>
<membername="T:SharpDX.XAudio2.EngineCallback">
<summary>
The IXAudio2EngineCallback interface contains methods that notify the client when certain events happen in the <seecref="T:SharpDX.XAudio2.XAudio2"/> engine. This interface should be implemented by the XAudio2 client. XAudio2 calls these methods via an interface pointer provided by the client, using either the {{XAudio2Create}} or <seecref="!:SharpDX.XAudio2.XAudio2.Initialize"/> method. Methods in this interface return void, rather than an HRESULT.
</summary>
<unmanaged>IXAudio2EngineCallback</unmanaged>
<summary>
IXAudio2
</summary>
<!-- Failed to insert some or all of included XML --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2EngineCallback']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_BUFFER_FLAGS']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_END_OF_STREAM']/*"/>
<unmanaged>XAUDIO2_END_OF_STREAM</unmanaged>
</member>
<membername="F:SharpDX.XAudio2.BufferFlags.None">
<summary>
None.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_FILTER_TYPE']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='LowPassFilter']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='BandPassFilter']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='HighPassFilter']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='NotchFilter']/*"/>
<unmanaged>NotchFilter</unmanaged>
</member>
<membername="T:SharpDX.XAudio2.LogType">
<summary>
No documentation.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_LOG_TYPE']/*"/>
<unmanaged>XAUDIO2_LOG_TYPE</unmanaged>
</member>
<membername="F:SharpDX.XAudio2.LogType.Errors">
<summary>
No documentation.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_LOG_ERRORS']/*"/>
<unmanaged>XAUDIO2_LOG_ERRORS</unmanaged>
</member>
<membername="F:SharpDX.XAudio2.LogType.Warnings">
<summary>
No documentation.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_LOG_WARNINGS']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_LOG_INFO']/*"/>
<unmanaged>XAUDIO2_LOG_INFO</unmanaged>
</member>
<membername="F:SharpDX.XAudio2.LogType.Detail">
<summary>
No documentation.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_LOG_DETAIL']/*"/>
<unmanaged>XAUDIO2_LOG_DETAIL</unmanaged>
</member>
<membername="F:SharpDX.XAudio2.LogType.ApiCalls">
<summary>
No documentation.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_LOG_API_CALLS']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_LOG_FUNC_CALLS']/*"/>
<unmanaged>XAUDIO2_LOG_FUNC_CALLS</unmanaged>
</member>
<membername="F:SharpDX.XAudio2.LogType.Timing">
<summary>
No documentation.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_LOG_TIMING']/*"/>
<unmanaged>XAUDIO2_LOG_TIMING</unmanaged>
</member>
<membername="F:SharpDX.XAudio2.LogType.Locks">
<summary>
No documentation.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_LOG_LOCKS']/*"/>
<unmanaged>XAUDIO2_LOG_LOCKS</unmanaged>
</member>
<membername="F:SharpDX.XAudio2.LogType.Memory">
<summary>
No documentation.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_LOG_MEMORY']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_LOG_STREAMING']/*"/>
<unmanaged>XAUDIO2_LOG_STREAMING</unmanaged>
</member>
<membername="T:SharpDX.XAudio2.PlayFlags">
<summary>
No documentation.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_PLAY_FLAGS']/*"/>
<unmanaged>XAUDIO2_PLAY_FLAGS</unmanaged>
</member>
<membername="F:SharpDX.XAudio2.PlayFlags.Tails">
<summary>
No documentation.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_PLAY_TAILS']/*"/>
<unmanaged>XAUDIO2_PLAY_TAILS</unmanaged>
</member>
<membername="F:SharpDX.XAudio2.PlayFlags.None">
<summary>
None.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_WINDOWS_PROCESSOR_SPECIFIER']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor1']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor2']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor3']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor4']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor5']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor6']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor7']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor8']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor9']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor10']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor11']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor12']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor13']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor14']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor15']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor16']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor17']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor18']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor19']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor20']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor21']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor22']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor23']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor24']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor25']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor26']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor27']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor28']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor29']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor30']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor31']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='Processor32']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_ANY_PROCESSOR']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_DEFAULT_PROCESSOR']/*"/>
<unmanaged>XAUDIO2_DEFAULT_PROCESSOR</unmanaged>
</member>
<membername="T:SharpDX.XAudio2.VoiceFlags">
<summary>
No documentation.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_VOICE_FLAGS']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_VOICE_NOPITCH']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_VOICE_NOSRC']/*"/>
<unmanaged>XAUDIO2_VOICE_NOSRC</unmanaged>
</member>
<membername="F:SharpDX.XAudio2.VoiceFlags.Music">
<summary>
No documentation.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_VOICE_MUSIC']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_VOICE_NOSAMPLESPLAYED']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='']/*"/>
<unmanaged>None</unmanaged>
</member>
<membername="T:SharpDX.XAudio2.VoiceSendFlags">
<summary>
No documentation.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_VOICE_SEND_FLAGS']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_VOICE_USEFILTER']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='']/*"/>
<unmanaged>None</unmanaged>
</member>
<membername="T:SharpDX.XAudio2.XAudio2Flags">
<summary>
No documentation.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_FLAGS']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='']/*"/>
<unmanaged>None</unmanaged>
</member>
<membername="T:SharpDX.XAudio2.XAudio2Functions">
<summary>
Functions
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='SharpDX.XAudio2.XAudio2Functions']/*"/>
<returns><para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of XAudio2 specific error codes.</para></returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAudio2Create']/*"/>
<unmanaged>HRESULT XAudio2Create([Out, Fast] IXAudio2** ppXAudio2,[In] unsigned int Flags,[In] unsigned int XAudio2Processor)</unmanaged>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_I3DL2_PARAMETERS']/*"/>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_I3DL2_PARAMETERS::WetDryMix']/*"/>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_I3DL2_PARAMETERS::Room']/*"/>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_I3DL2_PARAMETERS::RoomHF']/*"/>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_I3DL2_PARAMETERS::RoomRolloffFactor']/*"/>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_I3DL2_PARAMETERS::DecayTime']/*"/>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_I3DL2_PARAMETERS::DecayHFRatio']/*"/>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_I3DL2_PARAMETERS::Reflections']/*"/>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_I3DL2_PARAMETERS::ReflectionsDelay']/*"/>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_I3DL2_PARAMETERS::Reverb']/*"/>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_I3DL2_PARAMETERS::ReverbDelay']/*"/>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_I3DL2_PARAMETERS::Diffusion']/*"/>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_I3DL2_PARAMETERS::Density']/*"/>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_I3DL2_PARAMETERS::HFReference']/*"/>
<item><term>WetDryMix</term><description> Percentage of the output that will be reverb. Allowable values are from 0 to 100. </description></item>
<item><term>ReflectionsDelay</term><description> The delay time of the first reflection relative to the direct path. Permitted range is from 0 to 300 milliseconds. Note All parameters related to sampling rate or time are relative to a 48kHz sampling rate and must be scaled for use with other sampling rates. See remarks section below for additional information. </description></item>
<item><term>ReverbDelay</term><description> Delay of reverb relative to the first reflection. Permitted range is from 0 to 85 milliseconds. Note All parameters related to sampling rate or time are relative to a 48kHz sampling rate and must be scaled for use with other sampling rates. See remarks section below for additional information. </description></item>
<item><term>RearDelay</term><description> Delay for the left rear output and right rear output. Permitted range is from 0 to 5 milliseconds. Note All parameters related to sampling rate or time are relative to a 48kHz sampling rate and must be scaled for use with other sampling rates. See remarks section below for additional information. </description></item>
<item><term>PositionLeft</term><description> Position of the left input within the simulated space relative to the listener. With PositionLeft set to the minimum value, the left input is placed close to the listener. In this position, early reflections are dominant, and the reverb decay is set back in the sound field and reduced in amplitude. With PositionLeft set to the maximum value, the left input is placed at a maximum distance from the listener within the simulated room. PositionLeft does not affect the reverb decay time (liveness of the room), only the apparent position of the source relative to the listener. Permitted range is from 0 to 30 (no units). </description></item>
<item><term>PositionRight</term><description> Same as PositionLeft, but affecting only the right input. Permitted range is from 0 to 30 (no units). Note PositionRight is ignored in mono-in/mono-out mode. </description></item>
<item><term>PositionMatrixLeft</term><description> Gives a greater or lesser impression of distance from the source to the listener. Permitted range is from 0 to 30 (no units). </description></item>
<item><term>PositionMatrixRight</term><description> Gives a greater or lesser impression of distance from the source to the listener. Permitted range is from 0 to 30 (no units). Note PositionMatrixRight is ignored in mono-in/mono-out mode. </description></item>
<item><term>EarlyDiffusion</term><description> Controls the character of the individual wall reflections. Set to minimum value to simulate a hard flat surface and to maximum value to simulate a diffuse surface. Permitted range is from 0 to 15 (no units). </description></item>
<item><term>LateDiffusion</term><description> Controls the character of the individual wall reverberations. Set to minimum value to simulate a hard flat surface and to maximum value to simulate a diffuse surface. Permitted range is from 0 to 15 (no units). </description></item>
<item><term>LowEQGain</term><description> Adjusts the decay time of low frequencies relative to the decay time at 1 kHz. The values correspond to dB of gain as follows: Value0123456789101112 Gain (dB)-8-7-6-5-4-3-2-10+1+2+3+4 <para>Note that a LowEQGain value of 8 results in the decay time of low frequencies being equal to the decay time at 1 kHz. Permitted range is from 0 to 12 (no units).</para>
</description></item>
<item><term>LowEQCutoff</term><description> Sets the corner frequency of the low pass filter that is controlled by the LowEQGain parameter. The values correspond to frequency in Hz as follows: Value0123456789 Frequency (Hz)50100150200250300350400450500 <para>Permitted range is from 0 to 9 (no units).</para>
</description></item>
<item><term>HighEQGain</term><description> Adjusts the decay time of high frequencies relative to the decay time at 1 kHz. When set to zero, high frequencies decay at the same rate as 1 kHz. When set to maximum value, high frequencies decay at a much faster rate than 1 kHz. Value012345678 Gain (dB)-8-7-6-5-4-3-2-10 <para>Permitted range is from 0 to 8 (no units).</para>
</description></item>
<item><term>HighEQCutoff</term><description> Sets the corner frequency of the high pass filter that is controlled by the HighEQGain parameter. The values correspond to frequency in kHz as follows: Value01234567891011121314 Frequency (kHz)11.522.533.544.555.566.577.58 <para>Permitted range is from 0 to 14 (no units).</para>
</description></item>
<item><term>RoomFilterFreq</term><description> Sets the corner frequency of the low pass filter for the room effect. Permitted range is from 20 to 20,000 Hz. Note All parameters related to sampling rate or time are relative to a 48kHz sampling rate and must be scaled for use with other sampling rates. See remarks section below for additional information. </description></item>
<item><term>RoomFilterMain</term><description> Sets the pass band intensity level of the low-pass filter for both the early reflections and the late field reverberation. Permitted range is from -100 to 0 dB. </description></item>
<item><term>RoomFilterHF</term><description> Sets the intensity of the low-pass filter for both the early reflections and the late field reverberation at the corner frequency (RoomFilterFreq). Permitted range is from -100 to 0 dB. </description></item>
<item><term>ReflectionsGain</term><description> Adjusts the intensity of the early reflections. Permitted range is from -100 to 20 dB. </description></item>
<item><term>ReverbGain</term><description> Adjusts the intensity of the reverberations. Permitted range is from -100 to 20 dB. </description></item>
<item><term>DecayTime</term><description> Reverberation decay time at 1 kHz. This is the time that a full scale input signal decays by 60 dB. Permitted range is from 0.1 to infinity seconds. </description></item>
<item><term>Density</term><description> Controls the modal density in the late field reverberation. For colorless spaces, Density should be set to the maximum value (100). As Density is decreased, the sound becomes hollow (comb filtered). This is an effect that can be useful if you are trying to model a silo. Permitted range as a percentage is from 0 to 100. </description></item>
<item><term>RoomSize</term><description> The apparent size of the acoustic space. Permitted range is from 1 to 100 feet. </description></item>
<item><term>DisableLateField</term><description> If set to TRUE, disables late field reflection calculations. Disabling late field reflection calculations results in a significant CPU time savings. </description></item>
</list>
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_PARAMETERS']/*"/>
Percentage of the output that will be reverb. Allowable values are from 0 to 100.
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_PARAMETERS::WetDryMix']/*"/>
The delay time of the first reflection relative to the direct path. Permitted range is from 0 to 300 milliseconds. Note All parameters related to sampling rate or time are relative to a 48kHz sampling rate and must be scaled for use with other sampling rates. See remarks section below for additional information.
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_PARAMETERS::ReflectionsDelay']/*"/>
<unmanaged>unsigned int ReflectionsDelay</unmanaged>
Delay of reverb relative to the first reflection. Permitted range is from 0 to 85 milliseconds. Note All parameters related to sampling rate or time are relative to a 48kHz sampling rate and must be scaled for use with other sampling rates. See remarks section below for additional information.
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_PARAMETERS::ReverbDelay']/*"/>
Delay for the left rear output and right rear output. Permitted range is from 0 to 5 milliseconds. Note All parameters related to sampling rate or time are relative to a 48kHz sampling rate and must be scaled for use with other sampling rates. See remarks section below for additional information.
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_PARAMETERS::RearDelay']/*"/>
Position of the left input within the simulated space relative to the listener. With PositionLeft set to the minimum value, the left input is placed close to the listener. In this position, early reflections are dominant, and the reverb decay is set back in the sound field and reduced in amplitude. With PositionLeft set to the maximum value, the left input is placed at a maximum distance from the listener within the simulated room. PositionLeft does not affect the reverb decay time (liveness of the room), only the apparent position of the source relative to the listener. Permitted range is from 0 to 30 (no units).
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_PARAMETERS::PositionLeft']/*"/>
Same as PositionLeft, but affecting only the right input. Permitted range is from 0 to 30 (no units). Note PositionRight is ignored in mono-in/mono-out mode.
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_PARAMETERS::PositionRight']/*"/>
Gives a greater or lesser impression of distance from the source to the listener. Permitted range is from 0 to 30 (no units).
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_PARAMETERS::PositionMatrixLeft']/*"/>
Gives a greater or lesser impression of distance from the source to the listener. Permitted range is from 0 to 30 (no units). Note PositionMatrixRight is ignored in mono-in/mono-out mode.
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_PARAMETERS::PositionMatrixRight']/*"/>
Controls the character of the individual wall reflections. Set to minimum value to simulate a hard flat surface and to maximum value to simulate a diffuse surface. Permitted range is from 0 to 15 (no units).
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_PARAMETERS::EarlyDiffusion']/*"/>
Controls the character of the individual wall reverberations. Set to minimum value to simulate a hard flat surface and to maximum value to simulate a diffuse surface. Permitted range is from 0 to 15 (no units).
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_PARAMETERS::LateDiffusion']/*"/>
Adjusts the decay time of low frequencies relative to the decay time at 1 kHz. The values correspond to dB of gain as follows: Value0123456789101112 Gain (dB)-8-7-6-5-4-3-2-10+1+2+3+4 <para>Note that a LowEQGain value of 8 results in the decay time of low frequencies being equal to the decay time at 1 kHz. Permitted range is from 0 to 12 (no units).</para>
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_PARAMETERS::LowEQGain']/*"/>
Sets the corner frequency of the low pass filter that is controlled by the LowEQGain parameter. The values correspond to frequency in Hz as follows: Value0123456789 Frequency (Hz)50100150200250300350400450500 <para>Permitted range is from 0 to 9 (no units).</para>
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_PARAMETERS::LowEQCutoff']/*"/>
Adjusts the decay time of high frequencies relative to the decay time at 1 kHz. When set to zero, high frequencies decay at the same rate as 1 kHz. When set to maximum value, high frequencies decay at a much faster rate than 1 kHz. Value012345678 Gain (dB)-8-7-6-5-4-3-2-10 <para>Permitted range is from 0 to 8 (no units).</para>
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_PARAMETERS::HighEQGain']/*"/>
Sets the corner frequency of the high pass filter that is controlled by the HighEQGain parameter. The values correspond to frequency in kHz as follows: Value01234567891011121314 Frequency (kHz)11.522.533.544.555.566.577.58 <para>Permitted range is from 0 to 14 (no units).</para>
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_PARAMETERS::HighEQCutoff']/*"/>
Sets the corner frequency of the low pass filter for the room effect. Permitted range is from 20 to 20,000 Hz. Note All parameters related to sampling rate or time are relative to a 48kHz sampling rate and must be scaled for use with other sampling rates. See remarks section below for additional information.
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_PARAMETERS::RoomFilterFreq']/*"/>
Sets the pass band intensity level of the low-pass filter for both the early reflections and the late field reverberation. Permitted range is from -100 to 0 dB.
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_PARAMETERS::RoomFilterMain']/*"/>
Sets the intensity of the low-pass filter for both the early reflections and the late field reverberation at the corner frequency (RoomFilterFreq). Permitted range is from -100 to 0 dB.
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_PARAMETERS::RoomFilterHF']/*"/>
Adjusts the intensity of the early reflections. Permitted range is from -100 to 20 dB.
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_PARAMETERS::ReflectionsGain']/*"/>
Adjusts the intensity of the reverberations. Permitted range is from -100 to 20 dB.
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_PARAMETERS::ReverbGain']/*"/>
Reverberation decay time at 1 kHz. This is the time that a full scale input signal decays by 60 dB. Permitted range is from 0.1 to infinity seconds.
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_PARAMETERS::DecayTime']/*"/>
Controls the modal density in the late field reverberation. For colorless spaces, Density should be set to the maximum value (100). As Density is decreased, the sound becomes hollow (comb filtered). This is an effect that can be useful if you are trying to model a silo. Permitted range as a percentage is from 0 to 100.
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_PARAMETERS::Density']/*"/>
The apparent size of the acoustic space. Permitted range is from 1 to 100 feet.
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_PARAMETERS::RoomSize']/*"/>
If set to TRUE, disables late field reflection calculations. Disabling late field reflection calculations results in a significant CPU time savings.
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_REVERB_PARAMETERS::DisableLateField']/*"/>
<item><term>pPeakLevels</term><description> Array that will be filled with the maximum absolute level for each channel during a processing pass. The array must be at least ChannelCount ? sizeof(float) bytes. pPeakLevels may be <c>null</c> if pRMSLevels is not <c>null</c>. </description></item>
<item><term>pRMSLevels</term><description> Array that will be filled with root mean square level for each channel during a processing pass. The array must be at least ChannelCount ? sizeof(float) bytes. pRMSLevels may be <c>null</c> if pPeakLevels is not <c>null</c>. </description></item>
<item><term>ChannelCount</term><description> Number of channels being processed. </description></item>
</list>
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_VOLUMEMETER_LEVELS']/*"/>
Array that will be filled with the maximum absolute level for each channel during a processing pass. The array must be at least ChannelCount ? sizeof(float) bytes. pPeakLevels may be <c>null</c> if pRMSLevels is not <c>null</c>.
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_VOLUMEMETER_LEVELS::pPeakLevels']/*"/>
Array that will be filled with root mean square level for each channel during a processing pass. The array must be at least ChannelCount ? sizeof(float) bytes. pRMSLevels may be <c>null</c> if pPeakLevels is not <c>null</c>.
</summary>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_VOLUMEMETER_LEVELS::pRMSLevels']/*"/>
<!-- No matching elements were found for the following include tag --><includefile="..\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2FX_VOLUMEMETER_LEVELS::ChannelCount']/*"/>
<unmanaged>unsigned int ChannelCount</unmanaged>
</member>
<membername="T:SharpDX.XAudio2.MasteringVoice">
<summary>
IXAudio2MasteringVoice inherits directly from <seecref="T:SharpDX.XAudio2.Voice"/>, but does not implement methods specific to mastering voices. The interface type exists solely because some of the base class methods are implemented differently for mastering voices. Having a separate type for these voices helps client code to distinguish the different voice types and to benefit from C++ type safety.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2MasteringVoice']/*"/>
<item><term>pDestinationVoice</term><description>[in] Pointer to a destination <seecref="T:SharpDX.XAudio2.Voice"/> for which to set volume levels. Note If the voice sends to a single target voice then specifying <c>null</c> will cause SetOutputMatrix to operate on that target voice. </description></item>
<item><term>SourceChannels</term><description>[in] Confirms the output channel count of the voice. This is the number of channels that are produced by the last effect in the chain. </description></item>
<item><term>DestinationChannels</term><description>[in] Confirms the input channel count of the destination voice. </description></item>
<item><term>pLevelMatrix</term><description>[in] Array of [SourceChannels ? DestinationChannels] volume levels sent to the destination voice. The level sent from source channel S to destination channel D is specified in the form pLevelMatrix[SourceChannels ? D + S]. <para>For example, when rendering two-channel stereo input into 5.1 output that is weighted toward the front channels?but is absent from the center and low-frequency channels?the matrix might have the values shown in the following table.</para>
OutputLeft Input [Array Index]Right Input [Array Index] Left1.0 [0]0.0 [1] Right0.0 [2]1.0 [3] Front Center0.0 [4]0.0 [5] LFE0.0 [6]0.0 [7] Rear Left0.8 [8]0.0 [9] Rear Right0.0 [10]0.8 [11] <para>Note that the left and right input are fully mapped to the output left and right channels; 80 percent of the left and right input is mapped to the rear left and right channels.</para>
<para>See Remarks for more information on volume levels.</para>
</description></item>
<item><term>OperationSet</term><description>[in] Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information. </description></item>
</list>
Return Value <para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of error codes.</para>
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2Voice']/*"/>
<item><term>pVoiceDetails</term><description>[in, out] <seecref="T:SharpDX.XAudio2.VoiceDetails"/> structure containing information about the voice. </description></item>
</list>
Return ValueNone.
</summary>
<paramname="voiceDetailsRef">[in, out] <seecref="T:SharpDX.XAudio2.VoiceDetails"/> structure containing information about the voice.</param>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2Voice::GetVoiceDetails']/*"/>
<item><term>pSendList</term><description>[in] Array of <seecref="T:SharpDX.XAudio2.VoiceSendDescriptors"/> structure references to destination voices. If pSendList is <c>null</c>, the voice will send its output to the current mastering voice. To set the voice to not send its output anywhere set the OutputCount member of <seecref="T:SharpDX.XAudio2.VoiceSendDescriptors"/> to 0. All of the voices in a send list must have the same input sample rate, see XAudio2 Sample Rate Conversions for additional information. </description></item>
</list>
Return Value <para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of XAudio2 specific error codes.</para>
</summary>
<paramname="sendListRef">[in] Array of <seecref="T:SharpDX.XAudio2.VoiceSendDescriptors"/> structure references to destination voices. If pSendList is <c>null</c>, the voice will send its output to the current mastering voice. To set the voice to not send its output anywhere set the OutputCount member of <seecref="T:SharpDX.XAudio2.VoiceSendDescriptors"/> to 0. All of the voices in a send list must have the same input sample rate, see XAudio2 Sample Rate Conversions for additional information.</param>
<returns><para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of XAudio2 specific error codes.</para></returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2Voice::SetOutputVoices']/*"/>
<item><term>pEffectChain</term><description>[in, optional] Pointer to an <seecref="T:SharpDX.XAudio2.EffectChain"/> structure that describes the new effect chain to use. If <c>null</c> is passed, the current effect chain is removed. Note If pEffectChain is non-<c>null</c>, the <seecref="T:SharpDX.XAudio2.EffectChain"/> structure that it points to must specify at least one effect. </description></item>
</list>
Return Value <para> Returns <seecref="F:SharpDX.Result.Ok"/> if successful; otherwise, an error code. </para>
<para> See XAudio2 Error Codes for descriptions of XAudio2 specific error codes.</para>
</summary>
<paramname="effectChainRef">[in, optional] Pointer to an <seecref="T:SharpDX.XAudio2.EffectChain"/> structure that describes the new effect chain to use. If <c>null</c> is passed, the current effect chain is removed. Note If pEffectChain is non-<c>null</c>, the <seecref="T:SharpDX.XAudio2.EffectChain"/> structure that it points to must specify at least one effect.</param>
<returns><para> Returns <seecref="F:SharpDX.Result.Ok"/> if successful; otherwise, an error code. </para><para> See XAudio2 Error Codes for descriptions of XAudio2 specific error codes.</para></returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2Voice::SetEffectChain']/*"/>
<item><term>EffectIndex</term><description>[in] Zero-based index of an effect in the effect chain of the voice. </description></item>
<item><term>OperationSet</term><description>[in] Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information. </description></item>
</list>
Return Value <para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful; otherwise, an error code. See XAudio2 Error Codes for descriptions of error codes.</para>
</summary>
<paramname="effectIndex">[in] Zero-based index of an effect in the effect chain of the voice.</param>
<paramname="operationSet">[in] Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information.</param>
<returns><para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful; otherwise, an error code. See XAudio2 Error Codes for descriptions of error codes.</para></returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2Voice::EnableEffect']/*"/>
<unmanaged>HRESULT IXAudio2Voice::EnableEffect([In] unsigned int EffectIndex,[In] unsigned int OperationSet)</unmanaged>
<item><term>EffectIndex</term><description>[in] Zero-based index of an effect in the effect chain of the voice. </description></item>
<item><term>OperationSet</term><description>[in] Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information. </description></item>
</list>
Return Value <para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful; otherwise, an error code. See XAudio2 Error Codes for descriptions of valid error codes.</para>
</summary>
<paramname="effectIndex">[in] Zero-based index of an effect in the effect chain of the voice.</param>
<paramname="operationSet">[in] Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information.</param>
<returns><para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful; otherwise, an error code. See XAudio2 Error Codes for descriptions of valid error codes.</para></returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2Voice::DisableEffect']/*"/>
<unmanaged>HRESULT IXAudio2Voice::DisableEffect([In] unsigned int EffectIndex,[In] unsigned int OperationSet)</unmanaged>
<item><term>EffectIndex</term><description>[in] Zero-based index of an effect in the effect chain of the voice. </description></item>
<item><term>pEnabled</term><description>[out] Returns TRUE If the effect is enabled. If the effect is disabled, returns <seecref="F:SharpDX.Result.False"/>. </description></item>
</list>
Return ValueNone.
</summary>
<paramname="effectIndex">[in] Zero-based index of an effect in the effect chain of the voice.</param>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2Voice::GetEffectState']/*"/>
<unmanaged>void IXAudio2Voice::GetEffectState([In] unsigned int EffectIndex,[Out] BOOL* pEnabled)</unmanaged>
<item><term>EffectIndex</term><description>[in] Zero-based index of an effect within the voice's effect chain. </description></item>
<item><term>pParameters</term><description>[in] Returns the current values of the effect-specific parameters. </description></item>
<item><term>ParametersByteSize</term><description>[in] Size of the pParameters array in bytes. </description></item>
<item><term>OperationSet</term><description>[in] Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information. </description></item>
</list>
Return Value <para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful; otherwise, an error code. See XAudio2 Error Codes for descriptions of error codes.</para>
<para>Fails with E_NOTIMPL if the effect does not support a generic parameter control interface.</para>
</summary>
<paramname="effectIndex">[in] Zero-based index of an effect within the voice's effect chain.</param>
<paramname="parametersRef">[in] Returns the current values of the effect-specific parameters.</param>
<paramname="parametersByteSize">[in] Size of the pParameters array in bytes.</param>
<paramname="operationSet">[in] Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information.</param>
<returns><para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful; otherwise, an error code. See XAudio2 Error Codes for descriptions of error codes.</para><para>Fails with E_NOTIMPL if the effect does not support a generic parameter control interface.</para></returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2Voice::SetEffectParameters']/*"/>
<unmanaged>HRESULT IXAudio2Voice::SetEffectParameters([In] unsigned int EffectIndex,[In, Buffer] const void* pParameters,[In] unsigned int ParametersByteSize,[In] unsigned int OperationSet)</unmanaged>
<item><term>EffectIndex</term><description>[in] Zero-based index of an effect within the voice's effect chain. </description></item>
<item><term>pParameters</term><description>[out] Returns the current values of the effect-specific parameters. </description></item>
<item><term>ParametersByteSize</term><description>[out] Size, in bytes, of the pParameters array. </description></item>
</list>
Return Value <para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of error codes.</para>
<para>Fails with E_NOTIMPL if the effect does not support a generic parameter control interface.</para>
</summary>
<paramname="effectIndex">[in] Zero-based index of an effect within the voice's effect chain.</param>
<paramname="parametersRef">[out] Returns the current values of the effect-specific parameters.</param>
<paramname="parametersByteSize">[out] Size, in bytes, of the pParameters array.</param>
<returns><para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of error codes.</para><para>Fails with E_NOTIMPL if the effect does not support a generic parameter control interface.</para></returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2Voice::GetEffectParameters']/*"/>
<unmanaged>HRESULT IXAudio2Voice::GetEffectParameters([In] unsigned int EffectIndex,[Out, Buffer] void* pParameters,[In] unsigned int ParametersByteSize)</unmanaged>
<item><term>pParameters</term><description>[in] Pointer to an <seecref="T:SharpDX.XAudio2.FilterParameters"/> structure containing the filter information. </description></item>
<item><term>OperationSet</term><description>[in] Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information. </description></item>
</list>
Return Value <para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of error codes. </para>
</summary>
<paramname="parametersRef">[in] Pointer to an <seecref="T:SharpDX.XAudio2.FilterParameters"/> structure containing the filter information.</param>
<paramname="operationSet">[in] Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information.</param>
<returns><para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of error codes. </para></returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2Voice::SetFilterParameters']/*"/>
<unmanaged>HRESULT IXAudio2Voice::SetFilterParameters([In] const XAUDIO2_FILTER_PARAMETERS* pParameters,[In] unsigned int OperationSet)</unmanaged>
<item><term>pParameters</term><description>[out] Pointer to an <seecref="T:SharpDX.XAudio2.FilterParameters"/> structure containing the filter information. </description></item>
</list>
Return ValueNone.
</summary>
<paramname="parametersRef">[out] Pointer to an <seecref="T:SharpDX.XAudio2.FilterParameters"/> structure containing the filter information.</param>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2Voice::GetFilterParameters']/*"/>
<item><term>pDestinationVoice</term><description>[in] <seecref="T:SharpDX.XAudio2.Voice"/> reference to the destination voice of the send whose filter parameters will be set. </description></item>
<item><term>pParameters</term><description>[in] Pointer to an <seecref="T:SharpDX.XAudio2.FilterParameters"/> structure containing the filter information. </description></item>
<item><term>OperationSet</term><description>[in] Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information. </description></item>
</list>
Return Value <para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of error codes.</para>
</summary>
<paramname="destinationVoiceRef">[in] <seecref="T:SharpDX.XAudio2.Voice"/> reference to the destination voice of the send whose filter parameters will be set.</param>
<paramname="parametersRef">[in] Pointer to an <seecref="T:SharpDX.XAudio2.FilterParameters"/> structure containing the filter information.</param>
<paramname="operationSet">[in] Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information.</param>
<returns><para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of error codes.</para></returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2Voice::SetOutputFilterParameters']/*"/>
<item><term>pDestinationVoice</term><description>[in] <seecref="T:SharpDX.XAudio2.Voice"/> reference to the destination voice of the send whose filter parameters will be read. </description></item>
<item><term>pParameters</term><description>[out] Pointer to an <seecref="T:SharpDX.XAudio2.FilterParameters"/> structure containing the filter information. </description></item>
</list>
Return ValueNone.
</summary>
<paramname="destinationVoiceRef">[in] <seecref="T:SharpDX.XAudio2.Voice"/> reference to the destination voice of the send whose filter parameters will be read.</param>
<paramname="parametersRef">[out] Pointer to an <seecref="T:SharpDX.XAudio2.FilterParameters"/> structure containing the filter information.</param>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2Voice::GetOutputFilterParameters']/*"/>
<item><term>Volume</term><description>[in] Overall volume level to use. See Remarks for more information on volume levels. </description></item>
<item><term>OperationSet</term><description>[in] Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information. </description></item>
</list>
Return Value <para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of error codes.</para>
</summary>
<paramname="volume">[in] Overall volume level to use. See Remarks for more information on volume levels.</param>
<paramname="operationSet">[in] Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information.</param>
<returns><para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of error codes.</para></returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2Voice::SetVolume']/*"/>
<unmanaged>HRESULT IXAudio2Voice::SetVolume([In] float Volume,[In] unsigned int OperationSet)</unmanaged>
<item><term>pVolume</term><description>[out] Returns the current overall volume level of the voice. See Remarks for more information on volume levels. </description></item>
</list>
Return ValueNone.
</summary>
<paramname="volumeRef">[out] Returns the current overall volume level of the voice. See Remarks for more information on volume levels.</param>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2Voice::GetVolume']/*"/>
<item><term>Channels</term><description>[in] Number of channels in the voice. </description></item>
<item><term>pVolumes</term><description>[in] Array containing the new volumes of each channel in the voice. The array must have Channels elements. See Remarks for more information on volume levels. </description></item>
<item><term>OperationSet</term><description>[in] Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information. </description></item>
</list>
Return Value<para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of XAudio2 specific error codes. </para>
</summary>
<paramname="channels">[in] Number of channels in the voice.</param>
<paramname="volumesRef">[in] Array containing the new volumes of each channel in the voice. The array must have Channels elements. See Remarks for more information on volume levels.</param>
<paramname="operationSet">[in] Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information.</param>
<returns><para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of XAudio2 specific error codes. </para></returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2Voice::SetChannelVolumes']/*"/>
<unmanaged>HRESULT IXAudio2Voice::SetChannelVolumes([In] unsigned int Channels,[In, Buffer] const float* pVolumes,[In] unsigned int OperationSet)</unmanaged>
<item><term>Channels</term><description>[in] Confirms the channel count of the voice. </description></item>
<item><term>pVolumes</term><description>[out] Returns the current volume level of each channel in the voice. The array must have at least Channels elements. See Remarks for more information on volume levels. </description></item>
</list>
Return ValueNone.
</summary>
<paramname="channels">[in] Confirms the channel count of the voice.</param>
<paramname="volumesRef">[out] Returns the current volume level of each channel in the voice. The array must have at least Channels elements. See Remarks for more information on volume levels.</param>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2Voice::GetChannelVolumes']/*"/>
<unmanaged>void IXAudio2Voice::GetChannelVolumes([In] unsigned int Channels,[Out, Buffer] float* pVolumes)</unmanaged>
<item><term>pDestinationVoice</term><description>[in] Pointer to a destination <seecref="T:SharpDX.XAudio2.Voice"/> for which to set volume levels. Note If the voice sends to a single target voice then specifying <c>null</c> will cause SetOutputMatrix to operate on that target voice. </description></item>
<item><term>SourceChannels</term><description>[in] Confirms the output channel count of the voice. This is the number of channels that are produced by the last effect in the chain. </description></item>
<item><term>DestinationChannels</term><description>[in] Confirms the input channel count of the destination voice. </description></item>
<item><term>pLevelMatrix</term><description>[in] Array of [SourceChannels ? DestinationChannels] volume levels sent to the destination voice. The level sent from source channel S to destination channel D is specified in the form pLevelMatrix[SourceChannels ? D + S]. <para>For example, when rendering two-channel stereo input into 5.1 output that is weighted toward the front channels?but is absent from the center and low-frequency channels?the matrix might have the values shown in the following table.</para>
OutputLeft Input [Array Index]Right Input [Array Index] Left1.0 [0]0.0 [1] Right0.0 [2]1.0 [3] Front Center0.0 [4]0.0 [5] LFE0.0 [6]0.0 [7] Rear Left0.8 [8]0.0 [9] Rear Right0.0 [10]0.8 [11] <para>Note that the left and right input are fully mapped to the output left and right channels; 80 percent of the left and right input is mapped to the rear left and right channels.</para>
<para>See Remarks for more information on volume levels.</para>
</description></item>
<item><term>OperationSet</term><description>[in] Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information. </description></item>
</list>
Return Value <para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of error codes.</para>
</summary>
<paramname="destinationVoiceRef">[in] Pointer to a destination <seecref="T:SharpDX.XAudio2.Voice"/> for which to set volume levels. Note If the voice sends to a single target voice then specifying <c>null</c> will cause SetOutputMatrix to operate on that target voice.</param>
<paramname="sourceChannels">[in] Confirms the output channel count of the voice. This is the number of channels that are produced by the last effect in the chain.</param>
<paramname="destinationChannels">[in] Confirms the input channel count of the destination voice.</param>
<paramname="levelMatrixRef">[in] Array of [SourceChannels ? DestinationChannels] volume levels sent to the destination voice. The level sent from source channel S to destination channel D is specified in the form pLevelMatrix[SourceChannels ? D + S]. <para>For example, when rendering two-channel stereo input into 5.1 output that is weighted toward the front channels?but is absent from the center and low-frequency channels?the matrix might have the values shown in the following table.</para> OutputLeft Input [Array Index]Right Input [Array Index] Left1.0 [0]0.0 [1] Right0.0 [2]1.0 [3] Front Center0.0 [4]0.0 [5] LFE0.0 [6]0.0 [7] Rear Left0.8 [8]0.0 [9] Rear Right0.0 [10]0.8 [11] <para>Note that the left and right input are fully mapped to the output left and right channels; 80 percent of the left and right input is mapped to the rear left and right channels.</para><para>See Remarks for more information on volume levels.</para></param>
<paramname="operationSet">[in] Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information.</param>
<returns><para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of error codes.</para></returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2Voice::SetOutputMatrix']/*"/>
<unmanaged>HRESULT IXAudio2Voice::SetOutputMatrix([In, Optional] IXAudio2Voice* pDestinationVoice,[In] unsigned int SourceChannels,[In] unsigned int DestinationChannels,[In, Buffer] const float* pLevelMatrix,[In] unsigned int OperationSet)</unmanaged>
<item><term>pDestinationVoice</term><description>[in] Pointer specifying the destination <seecref="T:SharpDX.XAudio2.Voice"/> to retrieve the output matrix for. Note If the voice sends to a single target voice then specifying <c>null</c> will cause GetOutputMatrix to operate on that target voice. </description></item>
<item><term>SourceChannels</term><description>[in] Confirms the output channel count of the voice. This is the number of channels that are produced by the last effect in the chain. </description></item>
<item><term>DestinationChannels</term><description>[in] Confirms the input channel count of the destination voice. </description></item>
<item><term>pLevelMatrix</term><description>[out] Array of [SourceChannels * DestinationChannels] volume levels sent to the destination voice. The level sent from source channel S to destination channel D is returned in the form pLevelMatrix[DestinationChannels ? S + D]. See Remarks for more information on volume levels. </description></item>
</list>
Return ValueNone.
</summary>
<paramname="destinationVoiceRef">[in] Pointer specifying the destination <seecref="T:SharpDX.XAudio2.Voice"/> to retrieve the output matrix for. Note If the voice sends to a single target voice then specifying <c>null</c> will cause GetOutputMatrix to operate on that target voice.</param>
<paramname="sourceChannels">[in] Confirms the output channel count of the voice. This is the number of channels that are produced by the last effect in the chain.</param>
<paramname="destinationChannels">[in] Confirms the input channel count of the destination voice.</param>
<paramname="levelMatrixRef">[out] Array of [SourceChannels * DestinationChannels] volume levels sent to the destination voice. The level sent from source channel S to destination channel D is returned in the form pLevelMatrix[DestinationChannels ? S + D]. See Remarks for more information on volume levels.</param>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2Voice::GetOutputMatrix']/*"/>
<unmanaged>void IXAudio2Voice::GetOutputMatrix([In, Optional] IXAudio2Voice* pDestinationVoice,[In] unsigned int SourceChannels,[In] unsigned int DestinationChannels,[Out, Buffer] float* pLevelMatrix)</unmanaged>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2Voice::DestroyVoice']/*"/>
Sets parameters for a given effect in the voice's effect chain.
</summary>
<paramname="effectIndex">[in] Zero-based index of an effect within the voice's effect chain. </param>
<paramname="effectParameter">[in] Returns the current values of the effect-specific parameters. </param>
<paramname="operationSet">[in] Identifies this call as part of a deferred batch. See the {{XAudio2 Operation Sets}} overview for more information. </param>
Sets parameters for a given effect in the voice's effect chain.
</summary>
<paramname="effectIndex">[in] Zero-based index of an effect within the voice's effect chain. </param>
<paramname="effectParameter">[in] Returns the current values of the effect-specific parameters. </param>
<paramname="operationSet">[in] Identifies this call as part of a deferred batch. See the {{XAudio2 Operation Sets}} overview for more information. </param>
<paramname="effectDescriptors">[in, optional] an array of <seecref="T:SharpDX.XAudio2.EffectDescriptor"/> structure that describes the new effect chain to use. If NULL is passed, the current effect chain is removed. If array is non null, its length must be at least of 1. </param>
Designates a new set of submix or mastering voices to receive the output of the voice.
</summary>
<paramname="outputVoices">[in] Array of <seecref="T:SharpDX.XAudio2.VoiceSendDescriptor"/> structure pointers to destination voices. If outputVoices is NULL, the voice will send its output to the current mastering voice. To set the voice to not send its output anywhere set an array of lenvth 0. All of the voices in a send list must have the same input sample rate, see {{XAudio2 Sample Rate Conversions}} for additional information. </param>
Sets the volume level of each channel of the final output for the voice. These channels are mapped to the input channels of a specified destination voice.
</summary>
<paramname="sourceChannels">[in] Confirms the output channel count of the voice. This is the number of channels that are produced by the last effect in the chain. </param>
<paramname="destinationChannels">[in] Confirms the input channel count of the destination voice. </param>
<paramname="levelMatrixRef">[in] Array of [SourceChannels ? DestinationChannels] volume levels sent to the destination voice. The level sent from source channel S to destination channel D is specified in the form pLevelMatrix[SourceChannels ? D + S]. For example, when rendering two-channel stereo input into 5.1 output that is weighted toward the front channels?but is absent from the center and low-frequency channels?the matrix might have the values shown in the following table. OutputLeft InputRight Input Left1.00.0 Right0.01.0 Front Center0.00.0 LFE0.00.0 Rear Left0.80.0 Rear Right0.00.8 Note that the left and right input are fully mapped to the output left and right channels; 80 percent of the left and right input is mapped to the rear left and right channels. See Remarks for more information on volume levels. </param>
Sets the volume level of each channel of the final output for the voice. These channels are mapped to the input channels of a specified destination voice.
</summary>
<paramname="destinationVoiceRef">[in] Pointer to a destination <seecref="T:SharpDX.XAudio2.Voice"/> for which to set volume levels. Note If the voice sends to a single target voice then specifying NULL will cause SetOutputMatrix to operate on that target voice. </param>
<paramname="sourceChannels">[in] Confirms the output channel count of the voice. This is the number of channels that are produced by the last effect in the chain. </param>
<paramname="destinationChannels">[in] Confirms the input channel count of the destination voice. </param>
<paramname="levelMatrixRef">[in] Array of [SourceChannels ? DestinationChannels] volume levels sent to the destination voice. The level sent from source channel S to destination channel D is specified in the form pLevelMatrix[SourceChannels ? D + S]. For example, when rendering two-channel stereo input into 5.1 output that is weighted toward the front channels?but is absent from the center and low-frequency channels?the matrix might have the values shown in the following table. OutputLeft InputRight Input Left1.00.0 Right0.01.0 Front Center0.00.0 LFE0.00.0 Rear Left0.80.0 Rear Right0.00.8 Note that the left and right input are fully mapped to the output left and right channels; 80 percent of the left and right input is mapped to the rear left and right channels. See Remarks for more information on volume levels. </param>
Sets the volume level of each channel of the final output for the voice. These channels are mapped to the input channels of a specified destination voice.
</summary>
<paramname="sourceChannels">[in] Confirms the output channel count of the voice. This is the number of channels that are produced by the last effect in the chain. </param>
<paramname="destinationChannels">[in] Confirms the input channel count of the destination voice. </param>
<paramname="levelMatrixRef">[in] Array of [SourceChannels ? DestinationChannels] volume levels sent to the destination voice. The level sent from source channel S to destination channel D is specified in the form pLevelMatrix[SourceChannels ? D + S]. For example, when rendering two-channel stereo input into 5.1 output that is weighted toward the front channels?but is absent from the center and low-frequency channels?the matrix might have the values shown in the following table. OutputLeft InputRight Input Left1.00.0 Right0.01.0 Front Center0.00.0 LFE0.00.0 Rear Left0.80.0 Rear Right0.00.8 Note that the left and right input are fully mapped to the output left and right channels; 80 percent of the left and right input is mapped to the rear left and right channels. See Remarks for more information on volume levels. </param>
<paramname="operationSet">[in] Identifies this call as part of a deferred batch. See the {{XAudio2 Operation Sets}} overview for more information. </param>
<item><term>pVoiceDetails</term><description>[in, out] <seecref="T:SharpDX.XAudio2.VoiceDetails"/> structure containing information about the voice. </description></item>
</list>
Return ValueNone.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2Voice::GetVoiceDetails']/*"/>
<item><term>pSendList</term><description>[in] Array of <seecref="T:SharpDX.XAudio2.VoiceSendDescriptors"/> structure references to destination voices. If pSendList is <c>null</c>, the voice will send its output to the current mastering voice. To set the voice to not send its output anywhere set the OutputCount member of <seecref="T:SharpDX.XAudio2.VoiceSendDescriptors"/> to 0. All of the voices in a send list must have the same input sample rate, see XAudio2 Sample Rate Conversions for additional information. </description></item>
</list>
Return Value <para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of XAudio2 specific error codes.</para>
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2Voice::SetOutputVoices']/*"/>
<item><term>pParameters</term><description>[out] Pointer to an <seecref="T:SharpDX.XAudio2.FilterParameters"/> structure containing the filter information. </description></item>
</list>
Return ValueNone.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2Voice::GetFilterParameters']/*"/>
<item><term>pVolume</term><description>[out] Returns the current overall volume level of the voice. See Remarks for more information on volume levels. </description></item>
</list>
Return ValueNone.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2Voice::GetVolume']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2MasteringVoice::GetChannelMask']/*"/>
<paramname="device">an instance of <seecref="T:SharpDX.XAudio2.XAudio2"/></param>
<paramname="inputChannels">[in] Number of channels the mastering voice expects in its input audio. InputChannels must be less than or equal to XAUDIO2_MAX_AUDIO_CHANNELS. InputChannels can be set to XAUDIO2_DEFAULT_CHANNELS, with the default being determined by the current platform. Windows Attempts to detect the system speaker configuration setup. Xbox 360 Defaults to 5.1 surround. </param>
<paramname="inputSampleRate">[in] Sample rate of the input audio data of the mastering voice. This rate must be a multiple of XAUDIO2_QUANTUM_DENOMINATOR. InputSampleRate must be between XAUDIO2_MIN_SAMPLE_RATE and XAUDIO2_MAX_SAMPLE_RATE. InputSampleRate can be set to XAUDIO2_DEFAULT_SAMPLERATE, with the default being determined by the current platform. Windows Windows XP defaults to 44100. Windows Vista and Windows 7 default to the setting specified in the Sound Control Panel. The default for this setting is 44100 (or 48000 if required by the driver). Xbox 360 Defaults to 48000. </param>
<paramname="deviceIndex">[in] Index of the output device that will be sent input by the mastering voice. Specifying the default value of 0 causes XAudio2 to select the global default audio device. </param>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2MasteringVoice::GetChannelMask']/*"/>
IXAudio2SourceVoice inherits directly from <seecref="T:SharpDX.XAudio2.Voice"/>. It implements its own methods.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2SourceVoice']/*"/>
<item><term>Flags</term><description>[in] Flags that control how the voice is started. Must be 0. </description></item>
<item><term>OperationSet</term><description>[in] Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information. </description></item>
</list>
Return Value<para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of XAudio2 specific error codes. </para>
</summary>
<paramname="flags">[in] Flags that control how the voice is started. Must be 0.</param>
<paramname="operationSet">[in] Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information.</param>
<returns><para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of XAudio2 specific error codes. </para></returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2SourceVoice::Start']/*"/>
<unmanaged>HRESULT IXAudio2SourceVoice::Start([In] unsigned int Flags,[In] unsigned int OperationSet)</unmanaged>
<item><term>Flags</term><description>[in] Flags that control how the voice is stopped. Can be 0 or the following: ValueDescriptionXAUDIO2_PLAY_TAILSContinue emitting effect output after the voice is stopped.? </description></item>
<item><term>OperationSet</term><description>[in] Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information. </description></item>
</list>
Return Value<para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of XAudio2 specific error codes. </para>
</summary>
<paramname="flags">[in] Flags that control how the voice is stopped. Can be 0 or the following: ValueDescriptionXAUDIO2_PLAY_TAILSContinue emitting effect output after the voice is stopped.?</param>
<paramname="operationSet">[in] Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information.</param>
<returns><para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of XAudio2 specific error codes. </para></returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2SourceVoice::Stop']/*"/>
<unmanaged>HRESULT IXAudio2SourceVoice::Stop([In] XAUDIO2_PLAY_FLAGS Flags,[In] unsigned int OperationSet)</unmanaged>
<item><term>pBuffer</term><description>[in] Pointer to an <seecref="T:SharpDX.XAudio2.AudioBuffer"/> structure to queue. </description></item>
<item><term>pBufferWMA</term><description>[in] Pointer to an additional <seecref="T:SharpDX.XAudio2.BufferWma"/> structure used when submitting WMA data. </description></item>
</list>
Return Value<para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of XAudio2 specific error codes. </para>
</summary>
<paramname="bufferRef">[in] Pointer to an <seecref="T:SharpDX.XAudio2.AudioBuffer"/> structure to queue.</param>
<paramname="bufferWMARef">[in] Pointer to an additional <seecref="T:SharpDX.XAudio2.BufferWma"/> structure used when submitting WMA data.</param>
<returns><para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of XAudio2 specific error codes. </para></returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2SourceVoice::SubmitSourceBuffer']/*"/>
Return ValueReturns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise.
</summary>
<returns>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise.</returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2SourceVoice::FlushSourceBuffers']/*"/>
Return ValueReturns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise.
</summary>
<returns>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise.</returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2SourceVoice::Discontinuity']/*"/>
<item><term>OperationSet</term><description>[in] Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information. </description></item>
</list>
Return Value<para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of XAudio2 specific error codes. </para>
</summary>
<paramname="operationSet">[in] Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information.</param>
<returns><para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of XAudio2 specific error codes. </para></returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2SourceVoice::ExitLoop']/*"/>
<unmanaged>HRESULT IXAudio2SourceVoice::ExitLoop([In] unsigned int OperationSet)</unmanaged>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2SourceVoice::GetState']/*"/>
<unmanaged>void IXAudio2SourceVoice::GetState([Out] XAUDIO2_VOICE_STATE* pVoiceState,[In] unsigned int Flags)</unmanaged>
<item><term>Ratio</term><description>[in] Frequency adjustment ratio. This value must be between <seecref="F:SharpDX.XAudio2.XAudio2.MinimumFrequencyRatio"/> and the MaxFrequencyRatio parameter specified when the voice was created (see <seecref="M:SharpDX.XAudio2.XAudio2.CreateSourceVoice_(SharpDX.XAudio2.SourceVoice,System.IntPtr,SharpDX.XAudio2.VoiceFlags,System.Single,System.IntPtr,System.Nullable{SharpDX.XAudio2.VoiceSendDescriptors},System.Nullable{SharpDX.XAudio2.EffectChain})"/>). <seecref="F:SharpDX.XAudio2.XAudio2.MinimumFrequencyRatio"/> currently is 0.0005, which allows pitch to be lowered by up to 11 octaves. </description></item>
<item><term>OperationSet</term><description>[in] Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information. </description></item>
</list>
Return Value<para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of error codes. </para>
<paramname="ratio">[in] Frequency adjustment ratio. This value must be between <seecref="F:SharpDX.XAudio2.XAudio2.MinimumFrequencyRatio"/> and the MaxFrequencyRatio parameter specified when the voice was created (see <seecref="M:SharpDX.XAudio2.XAudio2.CreateSourceVoice_(SharpDX.XAudio2.SourceVoice,System.IntPtr,SharpDX.XAudio2.VoiceFlags,System.Single,System.IntPtr,System.Nullable{SharpDX.XAudio2.VoiceSendDescriptors},System.Nullable{SharpDX.XAudio2.EffectChain})"/>). <seecref="F:SharpDX.XAudio2.XAudio2.MinimumFrequencyRatio"/> currently is 0.0005, which allows pitch to be lowered by up to 11 octaves.</param>
<paramname="operationSet">[in] Identifies this call as part of a deferred batch. See the XAudio2 Operation Sets overview for more information.</param>
<returns><para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of error codes. </para></returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2SourceVoice::SetFrequencyRatio']/*"/>
<unmanaged>HRESULT IXAudio2SourceVoice::SetFrequencyRatio([In] float Ratio,[In] unsigned int OperationSet)</unmanaged>
<item><term>pRatio</term><description>[out] Returns the current frequency adjustment ratio if successful. </description></item>
</list>
Return ValueNone.
</summary>
<paramname="ratioRef">[out] Returns the current frequency adjustment ratio if successful.</param>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2SourceVoice::GetFrequencyRatio']/*"/>
<item><term>NewSourceSampleRate</term><description>[in] The new sample rate the voice should process submitted data at. Valid sample rates are 1kHz to 200kHz. </description></item>
</list>
Return Value <para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of error codes.</para>
</summary>
<paramname="newSourceSampleRate">[in] The new sample rate the voice should process submitted data at. Valid sample rates are 1kHz to 200kHz.</param>
<returns><para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of error codes.</para></returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2SourceVoice::SetSourceSampleRate']/*"/>
<unmanaged>HRESULT IXAudio2SourceVoice::SetSourceSampleRate([In] unsigned int NewSourceSampleRate)</unmanaged>
<paramname="device">an instance of <seecref="T:SharpDX.XAudio2.XAudio2"/></param>
<paramname="sourceFormat">[in] Pointer to a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure. This structure contains the expected format for all audio buffers submitted to the source voice. XAudio2 supports voice types of PCM, xWMA, ADPCM (Windows only), and XMA (Xbox 360 only). XAudio2 supports the following PCM formats. 8-bit (unsigned) integer PCM 16-bit integer PCM (Optimal format for XAudio2) 20-bit integer PCM (either in 24 or 32 bit containers) 24-bit integer PCM (either in 24 or 32 bit containers) 32-bit integer PCM 32-bit float PCM (Preferred format after 16-bit integer) The number of channels in a source voice must be less than or equal to XAUDIO2_MAX_AUDIO_CHANNELS. The sample rate of a source voice must be between XAUDIO2_MIN_SAMPLE_RATE and XAUDIO2_MAX_SAMPLE_RATE. Note Data formats such as XMA, {{ADPCM}}, and {{xWMA}} that require more information than provided by <seecref="T:SharpDX.Multimedia.WaveFormat"/> have a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure as the first member in their format structure. When creating a source voice with one of those formats cast the format's structure as a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure and use it as the value for pSourceFormat. </param>
<paramname="device">an instance of <seecref="T:SharpDX.XAudio2.XAudio2"/></param>
<paramname="sourceFormat">[in] Pointer to a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure. This structure contains the expected format for all audio buffers submitted to the source voice. XAudio2 supports voice types of PCM, xWMA, ADPCM (Windows only), and XMA (Xbox 360 only). XAudio2 supports the following PCM formats. 8-bit (unsigned) integer PCM 16-bit integer PCM (Optimal format for XAudio2) 20-bit integer PCM (either in 24 or 32 bit containers) 24-bit integer PCM (either in 24 or 32 bit containers) 32-bit integer PCM 32-bit float PCM (Preferred format after 16-bit integer) The number of channels in a source voice must be less than or equal to XAUDIO2_MAX_AUDIO_CHANNELS. The sample rate of a source voice must be between XAUDIO2_MIN_SAMPLE_RATE and XAUDIO2_MAX_SAMPLE_RATE. Note Data formats such as XMA, {{ADPCM}}, and {{xWMA}} that require more information than provided by <seecref="T:SharpDX.Multimedia.WaveFormat"/> have a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure as the first member in their format structure. When creating a source voice with one of those formats cast the format's structure as a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure and use it as the value for pSourceFormat. </param>
<paramname="enableCallbackEvents">True to enable delegate callbacks on this instance. Default is false</param>
<paramname="device">an instance of <seecref="T:SharpDX.XAudio2.XAudio2"/></param>
<paramname="sourceFormat">[in] Pointer to a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure. This structure contains the expected format for all audio buffers submitted to the source voice. XAudio2 supports voice types of PCM, xWMA, ADPCM (Windows only), and XMA (Xbox 360 only). XAudio2 supports the following PCM formats. 8-bit (unsigned) integer PCM 16-bit integer PCM (Optimal format for XAudio2) 20-bit integer PCM (either in 24 or 32 bit containers) 24-bit integer PCM (either in 24 or 32 bit containers) 32-bit integer PCM 32-bit float PCM (Preferred format after 16-bit integer) The number of channels in a source voice must be less than or equal to XAUDIO2_MAX_AUDIO_CHANNELS. The sample rate of a source voice must be between XAUDIO2_MIN_SAMPLE_RATE and XAUDIO2_MAX_SAMPLE_RATE. Note Data formats such as XMA, {{ADPCM}}, and {{xWMA}} that require more information than provided by <seecref="T:SharpDX.Multimedia.WaveFormat"/> have a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure as the first member in their format structure. When creating a source voice with one of those formats cast the format's structure as a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure and use it as the value for pSourceFormat. </param>
<paramname="flags">[in] Flags that specify the behavior of the source voice. A flag can be 0 or a combination of one or more of the following: ValueDescriptionXAUDIO2_VOICE_NOPITCHNo pitch control is available on the voice.?XAUDIO2_VOICE_NOSRCNo sample rate conversion is available on the voice, the voice's outputs must have the same sample rate.Note The XAUDIO2_VOICE_NOSRC flag causes the voice to behave as though the XAUDIO2_VOICE_NOPITCH flag also is specified. ?XAUDIO2_VOICE_USEFILTERThe filter effect should be available on this voice.?XAUDIO2_VOICE_MUSICThe voice is used to play background music. The system automatically can replace the voice with music selected by the user.? </param>
<paramname="device">an instance of <seecref="T:SharpDX.XAudio2.XAudio2"/></param>
<paramname="sourceFormat">[in] Pointer to a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure. This structure contains the expected format for all audio buffers submitted to the source voice. XAudio2 supports voice types of PCM, xWMA, ADPCM (Windows only), and XMA (Xbox 360 only). XAudio2 supports the following PCM formats. 8-bit (unsigned) integer PCM 16-bit integer PCM (Optimal format for XAudio2) 20-bit integer PCM (either in 24 or 32 bit containers) 24-bit integer PCM (either in 24 or 32 bit containers) 32-bit integer PCM 32-bit float PCM (Preferred format after 16-bit integer) The number of channels in a source voice must be less than or equal to XAUDIO2_MAX_AUDIO_CHANNELS. The sample rate of a source voice must be between XAUDIO2_MIN_SAMPLE_RATE and XAUDIO2_MAX_SAMPLE_RATE. Note Data formats such as XMA, {{ADPCM}}, and {{xWMA}} that require more information than provided by <seecref="T:SharpDX.Multimedia.WaveFormat"/> have a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure as the first member in their format structure. When creating a source voice with one of those formats cast the format's structure as a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure and use it as the value for pSourceFormat. </param>
<paramname="flags">[in] Flags that specify the behavior of the source voice. A flag can be 0 or a combination of one or more of the following: ValueDescriptionXAUDIO2_VOICE_NOPITCHNo pitch control is available on the voice.?XAUDIO2_VOICE_NOSRCNo sample rate conversion is available on the voice, the voice's outputs must have the same sample rate.Note The XAUDIO2_VOICE_NOSRC flag causes the voice to behave as though the XAUDIO2_VOICE_NOPITCH flag also is specified. ?XAUDIO2_VOICE_USEFILTERThe filter effect should be available on this voice.?XAUDIO2_VOICE_MUSICThe voice is used to play background music. The system automatically can replace the voice with music selected by the user.? </param>
<paramname="enableCallbackEvents">True to enable delegate callbacks on this instance. Default is false</param>
<paramname="device">an instance of <seecref="T:SharpDX.XAudio2.XAudio2"/></param>
<paramname="sourceFormat">[in] Pointer to a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure. This structure contains the expected format for all audio buffers submitted to the source voice. XAudio2 supports voice types of PCM, xWMA, ADPCM (Windows only), and XMA (Xbox 360 only). XAudio2 supports the following PCM formats. 8-bit (unsigned) integer PCM 16-bit integer PCM (Optimal format for XAudio2) 20-bit integer PCM (either in 24 or 32 bit containers) 24-bit integer PCM (either in 24 or 32 bit containers) 32-bit integer PCM 32-bit float PCM (Preferred format after 16-bit integer) The number of channels in a source voice must be less than or equal to XAUDIO2_MAX_AUDIO_CHANNELS. The sample rate of a source voice must be between XAUDIO2_MIN_SAMPLE_RATE and XAUDIO2_MAX_SAMPLE_RATE. Note Data formats such as XMA, {{ADPCM}}, and {{xWMA}} that require more information than provided by <seecref="T:SharpDX.Multimedia.WaveFormat"/> have a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure as the first member in their format structure. When creating a source voice with one of those formats cast the format's structure as a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure and use it as the value for pSourceFormat. </param>
<paramname="flags">[in] Flags that specify the behavior of the source voice. A flag can be 0 or a combination of one or more of the following: ValueDescriptionXAUDIO2_VOICE_NOPITCHNo pitch control is available on the voice.?XAUDIO2_VOICE_NOSRCNo sample rate conversion is available on the voice, the voice's outputs must have the same sample rate.Note The XAUDIO2_VOICE_NOSRC flag causes the voice to behave as though the XAUDIO2_VOICE_NOPITCH flag also is specified. ?XAUDIO2_VOICE_USEFILTERThe filter effect should be available on this voice.?XAUDIO2_VOICE_MUSICThe voice is used to play background music. The system automatically can replace the voice with music selected by the user.? </param>
<paramname="maxFrequencyRatio">[in] Highest allowable frequency ratio that can be set on this voice. The value for this argument must be between XAUDIO2_MIN_FREQ_RATIO and XAUDIO2_MAX_FREQ_RATIO. Subsequent calls to <seecref="M:SharpDX.XAudio2.SourceVoice.SetFrequencyRatio(System.Single,System.Int32)"/> are clamped between XAUDIO2_MIN_FREQ_RATIO and MaxFrequencyRatio. The maximum value for this argument is defined as XAUDIO2_MAX_FREQ_RATIO, which allows pitch to be raised by up to 10 octaves. If MaxFrequencyRatio is less than 1.0, the voice will use that ratio immediately after being created (rather than the default of 1.0). Xbox 360 For XMA voices there is an additional restriction on the MaxFrequencyRatio argument and the voice's sample rate. The product of these two numbers cannot exceed XAUDIO2_MAX_RATIO_TIMES_RATE_XMA_MONO for one-channel voices or XAUDIO2_MAX_RATIO_TIMES_RATE_XMA_MULTICHANNEL for voices with any other number of channels. If the value specified for MaxFrequencyRatio is too high for the specified format, the call to CreateSourceVoice fails and produces a debug message. Note XAudio2's memory usage can be reduced by using the lowest possible MaxFrequencyRatio value. </param>
<paramname="device">an instance of <seecref="T:SharpDX.XAudio2.XAudio2"/></param>
<paramname="sourceFormat">[in] Pointer to a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure. This structure contains the expected format for all audio buffers submitted to the source voice. XAudio2 supports voice types of PCM, xWMA, ADPCM (Windows only), and XMA (Xbox 360 only). XAudio2 supports the following PCM formats. 8-bit (unsigned) integer PCM 16-bit integer PCM (Optimal format for XAudio2) 20-bit integer PCM (either in 24 or 32 bit containers) 24-bit integer PCM (either in 24 or 32 bit containers) 32-bit integer PCM 32-bit float PCM (Preferred format after 16-bit integer) The number of channels in a source voice must be less than or equal to XAUDIO2_MAX_AUDIO_CHANNELS. The sample rate of a source voice must be between XAUDIO2_MIN_SAMPLE_RATE and XAUDIO2_MAX_SAMPLE_RATE. Note Data formats such as XMA, {{ADPCM}}, and {{xWMA}} that require more information than provided by <seecref="T:SharpDX.Multimedia.WaveFormat"/> have a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure as the first member in their format structure. When creating a source voice with one of those formats cast the format's structure as a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure and use it as the value for pSourceFormat. </param>
<paramname="flags">[in] Flags that specify the behavior of the source voice. A flag can be 0 or a combination of one or more of the following: ValueDescriptionXAUDIO2_VOICE_NOPITCHNo pitch control is available on the voice.?XAUDIO2_VOICE_NOSRCNo sample rate conversion is available on the voice, the voice's outputs must have the same sample rate.Note The XAUDIO2_VOICE_NOSRC flag causes the voice to behave as though the XAUDIO2_VOICE_NOPITCH flag also is specified. ?XAUDIO2_VOICE_USEFILTERThe filter effect should be available on this voice.?XAUDIO2_VOICE_MUSICThe voice is used to play background music. The system automatically can replace the voice with music selected by the user.? </param>
<paramname="maxFrequencyRatio">[in] Highest allowable frequency ratio that can be set on this voice. The value for this argument must be between XAUDIO2_MIN_FREQ_RATIO and XAUDIO2_MAX_FREQ_RATIO. Subsequent calls to <seecref="M:SharpDX.XAudio2.SourceVoice.SetFrequencyRatio(System.Single,System.Int32)"/> are clamped between XAUDIO2_MIN_FREQ_RATIO and MaxFrequencyRatio. The maximum value for this argument is defined as XAUDIO2_MAX_FREQ_RATIO, which allows pitch to be raised by up to 10 octaves. If MaxFrequencyRatio is less than 1.0, the voice will use that ratio immediately after being created (rather than the default of 1.0). Xbox 360 For XMA voices there is an additional restriction on the MaxFrequencyRatio argument and the voice's sample rate. The product of these two numbers cannot exceed XAUDIO2_MAX_RATIO_TIMES_RATE_XMA_MONO for one-channel voices or XAUDIO2_MAX_RATIO_TIMES_RATE_XMA_MULTICHANNEL for voices with any other number of channels. If the value specified for MaxFrequencyRatio is too high for the specified format, the call to CreateSourceVoice fails and produces a debug message. Note XAudio2's memory usage can be reduced by using the lowest possible MaxFrequencyRatio value. </param>
<paramname="callback">[in, optional] Pointer to a client-provided callback interface, <seecref="T:SharpDX.XAudio2.VoiceCallback"/>. </param>
Creates and configures a source voice with callback through delegates.
</summary>
<paramname="device">an instance of <seecref="T:SharpDX.XAudio2.XAudio2"/></param>
<paramname="sourceFormat">[in] Pointer to a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure. This structure contains the expected format for all audio buffers submitted to the source voice. XAudio2 supports voice types of PCM, xWMA, ADPCM (Windows only), and XMA (Xbox 360 only). XAudio2 supports the following PCM formats. 8-bit (unsigned) integer PCM 16-bit integer PCM (Optimal format for XAudio2) 20-bit integer PCM (either in 24 or 32 bit containers) 24-bit integer PCM (either in 24 or 32 bit containers) 32-bit integer PCM 32-bit float PCM (Preferred format after 16-bit integer) The number of channels in a source voice must be less than or equal to XAUDIO2_MAX_AUDIO_CHANNELS. The sample rate of a source voice must be between XAUDIO2_MIN_SAMPLE_RATE and XAUDIO2_MAX_SAMPLE_RATE. Note Data formats such as XMA, {{ADPCM}}, and {{xWMA}} that require more information than provided by <seecref="T:SharpDX.Multimedia.WaveFormat"/> have a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure as the first member in their format structure. When creating a source voice with one of those formats cast the format's structure as a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure and use it as the value for pSourceFormat. </param>
<paramname="flags">[in] Flags that specify the behavior of the source voice. A flag can be 0 or a combination of one or more of the following: ValueDescriptionXAUDIO2_VOICE_NOPITCHNo pitch control is available on the voice.?XAUDIO2_VOICE_NOSRCNo sample rate conversion is available on the voice, the voice's outputs must have the same sample rate.Note The XAUDIO2_VOICE_NOSRC flag causes the voice to behave as though the XAUDIO2_VOICE_NOPITCH flag also is specified. ?XAUDIO2_VOICE_USEFILTERThe filter effect should be available on this voice.?XAUDIO2_VOICE_MUSICThe voice is used to play background music. The system automatically can replace the voice with music selected by the user.? </param>
<paramname="maxFrequencyRatio">[in] Highest allowable frequency ratio that can be set on this voice. The value for this argument must be between XAUDIO2_MIN_FREQ_RATIO and XAUDIO2_MAX_FREQ_RATIO. Subsequent calls to <seecref="M:SharpDX.XAudio2.SourceVoice.SetFrequencyRatio(System.Single,System.Int32)"/> are clamped between XAUDIO2_MIN_FREQ_RATIO and MaxFrequencyRatio. The maximum value for this argument is defined as XAUDIO2_MAX_FREQ_RATIO, which allows pitch to be raised by up to 10 octaves. If MaxFrequencyRatio is less than 1.0, the voice will use that ratio immediately after being created (rather than the default of 1.0). Xbox 360 For XMA voices there is an additional restriction on the MaxFrequencyRatio argument and the voice's sample rate. The product of these two numbers cannot exceed XAUDIO2_MAX_RATIO_TIMES_RATE_XMA_MONO for one-channel voices or XAUDIO2_MAX_RATIO_TIMES_RATE_XMA_MULTICHANNEL for voices with any other number of channels. If the value specified for MaxFrequencyRatio is too high for the specified format, the call to CreateSourceVoice fails and produces a debug message. Note XAudio2's memory usage can be reduced by using the lowest possible MaxFrequencyRatio value. </param>
<paramname="enableDelegateCallbacks">True to enable delegate callbacks on this instance. Default is false</param>
Starts consumption and processing of audio by the voice. Delivers the result to any connected submix or mastering voices, or to the output device, with CommitNow changes.
Starts consumption and processing of audio by the voice. Delivers the result to any connected submix or mastering voices, or to the output device.
</summary>
<paramname="operationSet">[in] Identifies this call as part of a deferred batch. See the {{XAudio2 Operation Sets}} overview for more information. </param>
<!-- Failed to insert some or all of included XML --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2SourceVoice::SubmitSourceBuffer']/*"/>
<item><term>pRatio</term><description>[out] Returns the current frequency adjustment ratio if successful. </description></item>
</list>
Return ValueNone.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2SourceVoice::GetFrequencyRatio']/*"/>
<item><term>NewSourceSampleRate</term><description>[in] The new sample rate the voice should process submitted data at. Valid sample rates are 1kHz to 200kHz. </description></item>
</list>
Return Value <para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of error codes.</para>
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2SourceVoice::SetSourceSampleRate']/*"/>
<unmanaged>SetSourceSampleRate</unmanaged>
<unmanaged>HRESULT IXAudio2SourceVoice::SetSourceSampleRate([In] unsigned int NewSourceSampleRate)</unmanaged>
In order to use this delegate, this instance must have been intialized with events delegate support.
</remarks>
</member>
<membername="T:SharpDX.XAudio2.VoiceCallback">
<summary>
IXAudio2SourceVoice
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2VoiceCallback']/*"/>
Called during each processing pass for each voice, just before XAudio2 reads data from the voice's buffer queue.
</summary>
<paramname="bytesRequired"> The number of bytes that must be submitted immediately to avoid starvation. This allows the implementation of just-in-time streaming scenarios; the client can keep the absolute minimum data queued on the voice at all times, and pass it fresh data just before the data is required. This model provides the lowest possible latency attainable with XAudio2. For xWMA and XMA data BytesRequired will always be zero, since the concept of a frame of xWMA or XMA data is meaningless. Note In a situation where there is always plenty of data available on the source voice, BytesRequired should always report zero, because it doesn't need any samples immediately to avoid glitching. </param>
Called when the voice is about to start processing a new audio buffer.
</summary>
<paramname="context"> Context pointer that was assigned to the pContext member of the <seecref="T:SharpDX.XAudio2.AudioBuffer"/> structure when the buffer was submitted. </param>
Called when the voice finishes processing a buffer.
</summary>
<paramname="context"> Context pointer assigned to the pContext member of the <seecref="T:SharpDX.XAudio2.AudioBuffer"/> structure when the buffer was submitted. </param>
Called when the voice reaches the end position of a loop.
</summary>
<paramname="context"> Context pointer that was assigned to the pContext member of the <seecref="T:SharpDX.XAudio2.AudioBuffer"/> structure when the buffer was submitted. </param>
Called when a critical error occurs during voice processing.
</summary>
<paramname="context"> Context pointer that was assigned to the pContext member of the <seecref="T:SharpDX.XAudio2.AudioBuffer"/> structure when the buffer was submitted. </param>
<paramname="error"> The HRESULT code of the error encountered. </param>
IXAudio2SubmixVoice inherits directly from <seecref="T:SharpDX.XAudio2.Voice"/>, but does not implement methods specific to submix voices. The interface type exists solely because some of the base class methods are implemented differently for submix voices. Having a separate type for these voices helps client code to distinguish the different voice types and to benefit from C++ type safety.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2SubmixVoice']/*"/>
Creates and configures a mastering voice on the default audio device and 44100Hz.
</summary>
<paramname="device">an instance of <seecref="T:SharpDX.XAudio2.XAudio2"/></param>
<paramname="inputChannels">[in] Number of channels the mastering voice expects in its input audio. InputChannels must be less than or equal to XAUDIO2_MAX_AUDIO_CHANNELS. InputChannels can be set to XAUDIO2_DEFAULT_CHANNELS, with the default being determined by the current platform. Windows Attempts to detect the system speaker configuration setup. Xbox 360 Defaults to 5.1 surround. </param>
Creates and configures a mastering voice on the default audio device.
</summary>
<paramname="device">an instance of <seecref="T:SharpDX.XAudio2.XAudio2"/></param>
<paramname="inputChannels">[in] Number of channels the mastering voice expects in its input audio. InputChannels must be less than or equal to XAUDIO2_MAX_AUDIO_CHANNELS. InputChannels can be set to XAUDIO2_DEFAULT_CHANNELS, with the default being determined by the current platform. Windows Attempts to detect the system speaker configuration setup. Xbox 360 Defaults to 5.1 surround. </param>
<paramname="inputSampleRate">[in] Sample rate of the input audio data of the mastering voice. This rate must be a multiple of XAUDIO2_QUANTUM_DENOMINATOR. InputSampleRate must be between XAUDIO2_MIN_SAMPLE_RATE and XAUDIO2_MAX_SAMPLE_RATE. InputSampleRate can be set to XAUDIO2_DEFAULT_SAMPLERATE, with the default being determined by the current platform. Windows Windows XP defaults to 44100. Windows Vista and Windows 7 default to the setting specified in the Sound Control Panel. The default for this setting is 44100 (or 48000 if required by the driver). Xbox 360 Defaults to 48000. </param>
<paramname="device">an instance of <seecref="T:SharpDX.XAudio2.XAudio2"/></param>
<paramname="inputChannels">[in] Number of channels in the input audio data of the submix voice. InputChannels must be less than or equal to XAUDIO2_MAX_AUDIO_CHANNELS. </param>
<paramname="inputSampleRate">[in] Sample rate of the input audio data of submix voice. This rate must be a multiple of XAUDIO2_QUANTUM_DENOMINATOR. InputSampleRate must be between XAUDIO2_MIN_SAMPLE_RATE and XAUDIO2_MAX_SAMPLE_RATE. </param>
<paramname="flags">[in] Flags that specify the behavior of the submix voice. Can be 0 or the following: ValueDescriptionXAUDIO2_VOICE_USEFILTERThe filter effect should be available on this voice.? </param>
<paramname="processingStage">[in] An arbitrary number that specifies when this voice is processed with respect to other submix voices, if the XAudio2 engine is running other submix voices. The voice is processed after all other voices that include a smaller ProcessingStage value, and before all other voices that include a larger ProcessingStage value. Voices that include the same ProcessingStage value are processed in any order. A submix voice cannot send to another submix voice with a lower or equal ProcessingStage value; this prevents audio being lost due to a submix cycle. </param>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2']/*"/>
<returns><para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of XAudio2 specific error codes.</para></returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2::RegisterForCallbacks']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2::UnregisterForCallbacks']/*"/>
<item><term>ppSourceVoice</term><description>[out] If successful, returns a reference to the new <seecref="T:SharpDX.XAudio2.SourceVoice"/> object. </description></item>
<item><term>pSourceFormat</term><description>[in] Pointer to a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure. This structure contains the expected format for all audio buffers submitted to the source voice. <para>XAudio2 supports PCM and ADPCM voice types. XAudio2 supports the following PCM formats.</para>
<para>8-bit (unsigned) integer PCM</para>
<para>16-bit integer PCM (optimal format for XAudio2)</para>
<para>20-bit integer PCM (either in 24 or 32 bit containers)</para>
<para>24-bit integer PCM (either in 24 or 32 bit containers)</para>
<para>32-bit integer PCM</para>
<para>32-bit float PCM (preferred format after 16-bit integer)</para>
<para>The number of channels in a source voice must be less than or equal to <seecref="F:SharpDX.XAudio2.XAudio2.MaximumAudioChannels"/>. The sample rate of a source voice must be between <seecref="F:SharpDX.XAudio2.XAudio2.MinimumSampleRate"/> and <seecref="F:SharpDX.XAudio2.XAudio2.MaximumSampleRate"/>.</para>
Note Data formats such as ADPCM that require more information than provided by <seecref="T:SharpDX.Multimedia.WaveFormat"/> have a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure as the first member in their format structures. When you create a source voice with one of those formats, cast the format's structure as a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure and use it as the value for pSourceFormat. </description></item>
<item><term>Flags</term><description>[in] Flags that specify the behavior of the source voice. A flag can be 0 or a combination of one or more of the following: ValueDescriptionXAUDIO2_VOICE_NOPITCHNo pitch control is available on the voice.?XAUDIO2_VOICE_NOSRCNo sample rate conversion is available on the voice. The voice's outputs must have the same sample rate. Note The <seecref="F:SharpDX.XAudio2.VoiceFlags.NoSampleRateConversion"/> flag causes the voice to behave as though the <seecref="F:SharpDX.XAudio2.VoiceFlags.NoPitch"/> flag also is specified. ?XAUDIO2_VOICE_USEFILTERThe filter effect should be available on this voice.? </description></item>
<item><term>MaxFrequencyRatio</term><description>[in] Highest allowable frequency ratio that can be set on this voice. The value for this argument must be between <seecref="F:SharpDX.XAudio2.XAudio2.MinimumFrequencyRatio"/> and <seecref="F:SharpDX.XAudio2.XAudio2.MaximumFrequencyRatio"/>. Subsequent calls to <seecref="M:SharpDX.XAudio2.SourceVoice.SetFrequencyRatio(System.Single,System.Int32)"/> are clamped between <seecref="F:SharpDX.XAudio2.XAudio2.MinimumFrequencyRatio"/> and MaxFrequencyRatio. <para>The maximum value for this argument is defined as <seecref="F:SharpDX.XAudio2.XAudio2.MaximumFrequencyRatio"/>, which allows pitch to be raised by up to 10 octaves.</para>
<para>If MaxFrequencyRatio is less than 1.0, the voice will use that ratio immediately after being created (rather than the default of 1.0).</para>
Xbox 360 <para>For XMA voices, there is one more restriction on the MaxFrequencyRatio argument and the voice's sample rate. The product of these two numbers cannot exceed XAUDIO2_MAX_RATIO_TIMES_RATE_XMA_MONO for one-channel voices or XAUDIO2_MAX_RATIO_TIMES_RATE_XMA_MULTICHANNEL for voices with any other number of channels. If the value specified for MaxFrequencyRatio is too high for the specified format, the call to CreateSourceVoice fails and produces a debug message.</para>
Note You can use the lowest possible MaxFrequencyRatio value to reduce XAudio2's memory usage. </description></item>
<item><term>pCallback</term><description>[in, optional] Pointer to a client-provided callback interface, <seecref="T:SharpDX.XAudio2.VoiceCallback"/>. </description></item>
<item><term>pSendList</term><description>[in, optional] Pointer to a list of <seecref="T:SharpDX.XAudio2.VoiceSendDescriptors"/> structures that describe the set of destination voices for the source voice. If pSendList is <c>null</c>, the send list defaults to a single output to the first mastering voice created. </description></item>
<item><term>pEffectChain</term><description>[in, optional] Pointer to a list of <seecref="T:SharpDX.XAudio2.EffectChain"/> structures that describe an effect chain to use in the source voice. </description></item>
</list>
Return Value <para> Returns <seecref="F:SharpDX.Result.Ok"/> if successful; otherwise, an error code. </para>
<para> See XAudio2 Error Codes for descriptions of XAudio2-specific error codes.</para>
</summary>
<paramname="sourceVoiceOut">[out] If successful, returns a reference to the new <seecref="T:SharpDX.XAudio2.SourceVoice"/> object.</param>
<paramname="sourceFormatRef">[in] Pointer to a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure. This structure contains the expected format for all audio buffers submitted to the source voice. <para>XAudio2 supports PCM and ADPCM voice types. XAudio2 supports the following PCM formats.</para><para>8-bit (unsigned) integer PCM</para><para>16-bit integer PCM (optimal format for XAudio2)</para><para>20-bit integer PCM (either in 24 or 32 bit containers)</para><para>24-bit integer PCM (either in 24 or 32 bit containers)</para><para>32-bit integer PCM</para><para>32-bit float PCM (preferred format after 16-bit integer)</para><para>The number of channels in a source voice must be less than or equal to <seecref="F:SharpDX.XAudio2.XAudio2.MaximumAudioChannels"/>. The sample rate of a source voice must be between <seecref="F:SharpDX.XAudio2.XAudio2.MinimumSampleRate"/> and <seecref="F:SharpDX.XAudio2.XAudio2.MaximumSampleRate"/>.</para> Note Data formats such as ADPCM that require more information than provided by <seecref="T:SharpDX.Multimedia.WaveFormat"/> have a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure as the first member in their format structures. When you create a source voice with one of those formats, cast the format's structure as a <seecref="T:SharpDX.Multimedia.WaveFormat"/> structure and use it as the value for pSourceFormat.</param>
<paramname="flags">[in] Flags that specify the behavior of the source voice. A flag can be 0 or a combination of one or more of the following: ValueDescriptionXAUDIO2_VOICE_NOPITCHNo pitch control is available on the voice.?XAUDIO2_VOICE_NOSRCNo sample rate conversion is available on the voice. The voice's outputs must have the same sample rate. Note The <seecref="F:SharpDX.XAudio2.VoiceFlags.NoSampleRateConversion"/> flag causes the voice to behave as though the <seecref="F:SharpDX.XAudio2.VoiceFlags.NoPitch"/> flag also is specified. ?XAUDIO2_VOICE_USEFILTERThe filter effect should be available on this voice.?</param>
<paramname="maxFrequencyRatio">[in] Highest allowable frequency ratio that can be set on this voice. The value for this argument must be between <seecref="F:SharpDX.XAudio2.XAudio2.MinimumFrequencyRatio"/> and <seecref="F:SharpDX.XAudio2.XAudio2.MaximumFrequencyRatio"/>. Subsequent calls to <seecref="M:SharpDX.XAudio2.SourceVoice.SetFrequencyRatio(System.Single,System.Int32)"/> are clamped between <seecref="F:SharpDX.XAudio2.XAudio2.MinimumFrequencyRatio"/> and MaxFrequencyRatio. <para>The maximum value for this argument is defined as <seecref="F:SharpDX.XAudio2.XAudio2.MaximumFrequencyRatio"/>, which allows pitch to be raised by up to 10 octaves.</para><para>If MaxFrequencyRatio is less than 1.0, the voice will use that ratio immediately after being created (rather than the default of 1.0).</para> Xbox 360 <para>For XMA voices, there is one more restriction on the MaxFrequencyRatio argument and the voice's sample rate. The product of these two numbers cannot exceed XAUDIO2_MAX_RATIO_TIMES_RATE_XMA_MONO for one-channel voices or XAUDIO2_MAX_RATIO_TIMES_RATE_XMA_MULTICHANNEL for voices with any other number of channels. If the value specified for MaxFrequencyRatio is too high for the specified format, the call to CreateSourceVoice fails and produces a debug message.</para> Note You can use the lowest possible MaxFrequencyRatio value to reduce XAudio2's memory usage.</param>
<paramname="callbackRef">[in, optional] Pointer to a client-provided callback interface, <seecref="T:SharpDX.XAudio2.VoiceCallback"/>.</param>
<paramname="sendListRef">[in, optional] Pointer to a list of <seecref="T:SharpDX.XAudio2.VoiceSendDescriptors"/> structures that describe the set of destination voices for the source voice. If pSendList is <c>null</c>, the send list defaults to a single output to the first mastering voice created.</param>
<paramname="effectChainRef">[in, optional] Pointer to a list of <seecref="T:SharpDX.XAudio2.EffectChain"/> structures that describe an effect chain to use in the source voice.</param>
<returns><para> Returns <seecref="F:SharpDX.Result.Ok"/> if successful; otherwise, an error code. </para><para> See XAudio2 Error Codes for descriptions of XAudio2-specific error codes.</para></returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2::CreateSourceVoice']/*"/>
<item><term>ppSubmixVoice</term><description>[out] On success, returns a reference to the new <seecref="T:SharpDX.XAudio2.SubmixVoice"/> object. </description></item>
<item><term>InputChannels</term><description>[in] Number of channels in the input audio data of the submix voice. <para>InputChannels must be less than or equal to <seecref="F:SharpDX.XAudio2.XAudio2.MaximumAudioChannels"/>.</para>
<item><term>InputSampleRate</term><description>[in] Sample rate of the input audio data of submix voice. This rate must be a multiple of XAUDIO2_QUANTUM_DENOMINATOR. InputSampleRate must be between <seecref="F:SharpDX.XAudio2.XAudio2.MinimumSampleRate"/> and <seecref="F:SharpDX.XAudio2.XAudio2.MaximumSampleRate"/>. </description></item>
<item><term>Flags</term><description>[in] Flags that specify the behavior of the submix voice. It can be 0 or the following: ValueDescriptionXAUDIO2_VOICE_USEFILTERThe filter effect should be available on this voice.? </description></item>
<item><term>ProcessingStage</term><description>[in] An arbitrary number that specifies when this voice is processed with respect to other submix voices, if the XAudio2 engine is running other submix voices. The voice is processed after all other voices that include a smaller ProcessingStage value and before all other voices that include a larger ProcessingStage value. Voices that include the same ProcessingStage value are processed in any order. A submix voice cannot send to another submix voice with a lower or equal ProcessingStage value. This prevents audio being lost due to a submix cycle. </description></item>
<item><term>pSendList</term><description>[in, optional] Pointer to a list of <seecref="T:SharpDX.XAudio2.VoiceSendDescriptors"/> structures that describe the set of destination voices for the submix voice. If pSendList is <c>null</c>, the send list will default to a single output to the first mastering voice created. </description></item>
<item><term>pEffectChain</term><description>[in, optional] Pointer to a list of <seecref="T:SharpDX.XAudio2.EffectChain"/> structures that describe an effect chain to use in the submix voice. </description></item>
</list>
Return Value <para> Returns <seecref="F:SharpDX.Result.Ok"/> if successful; otherwise, an error code. </para>
<para> See XAudio2 Error Codes for descriptions of XAudio2 specific error codes.</para>
</summary>
<paramname="submixVoiceOut">[out] On success, returns a reference to the new <seecref="T:SharpDX.XAudio2.SubmixVoice"/> object.</param>
<paramname="inputChannels">[in] Number of channels in the input audio data of the submix voice. <para>InputChannels must be less than or equal to <seecref="F:SharpDX.XAudio2.XAudio2.MaximumAudioChannels"/>.</para></param>
<paramname="inputSampleRate">[in] Sample rate of the input audio data of submix voice. This rate must be a multiple of XAUDIO2_QUANTUM_DENOMINATOR. InputSampleRate must be between <seecref="F:SharpDX.XAudio2.XAudio2.MinimumSampleRate"/> and <seecref="F:SharpDX.XAudio2.XAudio2.MaximumSampleRate"/>.</param>
<paramname="flags">[in] Flags that specify the behavior of the submix voice. It can be 0 or the following: ValueDescriptionXAUDIO2_VOICE_USEFILTERThe filter effect should be available on this voice.?</param>
<paramname="processingStage">[in] An arbitrary number that specifies when this voice is processed with respect to other submix voices, if the XAudio2 engine is running other submix voices. The voice is processed after all other voices that include a smaller ProcessingStage value and before all other voices that include a larger ProcessingStage value. Voices that include the same ProcessingStage value are processed in any order. A submix voice cannot send to another submix voice with a lower or equal ProcessingStage value. This prevents audio being lost due to a submix cycle.</param>
<paramname="sendListRef">[in, optional] Pointer to a list of <seecref="T:SharpDX.XAudio2.VoiceSendDescriptors"/> structures that describe the set of destination voices for the submix voice. If pSendList is <c>null</c>, the send list will default to a single output to the first mastering voice created.</param>
<paramname="effectChainRef">[in, optional] Pointer to a list of <seecref="T:SharpDX.XAudio2.EffectChain"/> structures that describe an effect chain to use in the submix voice.</param>
<returns><para> Returns <seecref="F:SharpDX.Result.Ok"/> if successful; otherwise, an error code. </para><para> See XAudio2 Error Codes for descriptions of XAudio2 specific error codes.</para></returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2::CreateSubmixVoice']/*"/>
<unmanaged>HRESULT IXAudio2::CreateSubmixVoice([Out, Fast] IXAudio2SubmixVoice** ppSubmixVoice,[In] unsigned int InputChannels,[In] unsigned int InputSampleRate,[In] XAUDIO2_VOICE_SEND_FLAGS Flags,[In] unsigned int ProcessingStage,[In, Optional] const XAUDIO2_VOICE_SENDS* pSendList,[In, Optional] const XAUDIO2_EFFECT_CHAIN* pEffectChain)</unmanaged>
<paramname="inputChannels">[in] Number of channels the mastering voice expects in its input audio. <para>InputChannels must be less than or equal to <seecref="F:SharpDX.XAudio2.XAudio2.MaximumAudioChannels"/>.</para><para>InputChannels can be set to <seecref="F:SharpDX.XAudio2.XAudio2.DefaultChannels"/>, with the default being determined by the current platform.</para> Windows <para>Attempts to detect the system speaker configuration setup.</para> Xbox 360 <para>Defaults to 5.1 surround.</para></param>
<paramname="inputSampleRate">[in] Sample rate of the input audio data of the mastering voice. This rate must be a multiple of XAUDIO2_QUANTUM_DENOMINATOR. <para>InputSampleRate must be between <seecref="F:SharpDX.XAudio2.XAudio2.MinimumSampleRate"/> and <seecref="F:SharpDX.XAudio2.XAudio2.MaximumSampleRate"/>.</para><para>InputSampleRate can be set to <seecref="F:SharpDX.XAudio2.XAudio2.DefaultSampleRate"/>, with the default being determined by the current platform.</para> Windows <para>Windows XP defaults to 44100.</para><para>Windows Vista and Windows 7 default to the setting specified in the Sound Control Panel. The default for this setting is 44100 (or 48000 if required by the driver).</para> Xbox 360 <para>Defaults to 48000.</para></param>
<paramname="flags">[in] Flags that specify the behavior of the mastering voice. Must be 0.</param>
<paramname="szDeviceId">[in] Index of the output device that will be sent input by the mastering voice. Specifying the default value of 0 causes XAudio2 to select the global default audio device.</param>
<paramname="effectChainRef">[in, optional] Pointer to an <seecref="T:SharpDX.XAudio2.EffectChain"/> structure that describe an effect chain to use in the mastering voice, or <c>null</c> to use no effects.</param>
<returns><para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of XAudio2 specific error codes.</para></returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2::CreateMasteringVoice']/*"/>
<unmanaged>HRESULT IXAudio2::CreateMasteringVoice([Out, Fast] IXAudio2MasteringVoice** ppMasteringVoice,[In] unsigned int InputChannels,[In] unsigned int InputSampleRate,[In] unsigned int Flags,[In, Optional] const wchar_t* szDeviceId,[In, Optional] const XAUDIO2_EFFECT_CHAIN* pEffectChain,[In] AUDIO_STREAM_CATEGORY StreamCategory)</unmanaged>
Return Value<para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of XAudio2 specific error codes.</para>
</summary>
<returns><para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful, an error code otherwise. See XAudio2 Error Codes for descriptions of XAudio2 specific error codes.</para></returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2::StartEngine']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2::StopEngine']/*"/>
<item><term>OperationSet</term><description>[in] Identifier of the set of operations to be applied. To commit all pending operations, pass <seecref="F:SharpDX.XAudio2.XAudio2.CommitAll"/>. </description></item>
Return Value <para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful; returns an error code otherwise. See XAudio2 Error Codes for descriptions of XAudio2 specific error codes.</para>
<paramname="operationSet">[in] Identifier of the set of operations to be applied. To commit all pending operations, pass <seecref="F:SharpDX.XAudio2.XAudio2.CommitAll"/>.</param>
<returns><para>Returns <seecref="F:SharpDX.Result.Ok"/> if successful; returns an error code otherwise. See XAudio2 Error Codes for descriptions of XAudio2 specific error codes.</para></returns>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2::CommitChanges']/*"/>
<unmanaged>HRESULT IXAudio2::CommitChanges([In] unsigned int OperationSet)</unmanaged>
<item><term>pPerfData</term><description>[out] On success, reference to an <seecref="T:SharpDX.XAudio2.PerformanceData"/> structure that is returned. </description></item>
</list>
Return ValueNone.
</summary>
<paramname="perfDataRef">[out] On success, reference to an <seecref="T:SharpDX.XAudio2.PerformanceData"/> structure that is returned.</param>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2::GetPerformanceData']/*"/>
<paramname="debugConfigurationRef">Pointer to a <seecref="T:SharpDX.XAudio2.DebugConfiguration"/> structure that contains the new debug configuration.</param>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2::SetDebugConfiguration']/*"/>
<item><term>pPerfData</term><description>[out] On success, reference to an <seecref="T:SharpDX.XAudio2.PerformanceData"/> structure that is returned. </description></item>
</list>
Return ValueNone.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='IXAudio2::GetPerformanceData']/*"/>
Called if a critical system error occurs that requires XAudio2 to be closed down and restarted.
</summary>
</member>
<membername="T:SharpDX.XAudio2.BufferWma">
<summary>
IXAudio2SourceVoice::SubmitSourceBuffer
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_BUFFER_WMA']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_BUFFER_WMA::pDecodedPacketCumulativeBytes']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_BUFFER_WMA::PacketCount']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_DEBUG_CONFIGURATION']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_DEBUG_CONFIGURATION::TraceMask']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_DEBUG_CONFIGURATION::BreakMask']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_DEBUG_CONFIGURATION::LogThreadID']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_DEBUG_CONFIGURATION::LogFileline']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_DEBUG_CONFIGURATION::LogFunctionName']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_DEBUG_CONFIGURATION::LogTiming']/*"/>
<item><term>EffectCount</term><description> Number of effects in the effect chain for the voice. </description></item>
<item><term>pEffectDescriptors</term><description> Array of <seecref="T:SharpDX.XAudio2.EffectDescriptor"/> structures containing references to XAPO instances. </description></item>
</list>
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_EFFECT_CHAIN']/*"/>
Number of effects in the effect chain for the voice.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_EFFECT_CHAIN::EffectCount']/*"/>
Array of <seecref="T:SharpDX.XAudio2.EffectDescriptor"/> structures containing references to XAPO instances.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_EFFECT_CHAIN::pEffectDescriptors']/*"/>
<item><term>Type</term><description> An <seecref="T:SharpDX.XAudio2.FilterType"/> indicating whether the filter is low pass, band pass, high pass, or notch. </description></item>
<item><term>Frequency</term><description> Filter radian frequency calculated as (2 * sin(pi * (desired filter cutoff frequency) / sampleRate)). The frequency must be greater than or equal to 0 and less than or equal to <seecref="F:SharpDX.XAudio2.XAudio2.MaximumFilterFrequency"/>. The maximum frequency allowable is equal to the source sound's sample rate divided by six which corresponds to the maximum filter radian frequency of 1. For example, if a sound's sample rate is 48000 and the desired cutoff frequency is the maximum allowable value for that sample rate, 8000, the value for Frequency will be 1. <para>If XAUDIO2_HELPER_FUNCTIONS is defined, XAudio2.h will include the XAudio2RadiansToCutoffFrequency and XAudio2CutoffFrequencyToRadians helper functions for converting between hertz and radian frequencies.</para>
<item><term>OneOverQ</term><description> Reciprocal of Q factor. Controls how quickly frequencies beyond Frequency are dampened. Larger values result in quicker dampening while smaller values cause dampening to occur more gradually. Must be greater than 0 and less than or equal to <seecref="F:SharpDX.XAudio2.XAudio2.MaximumFilterOneOverQ"/>. </description></item>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_FILTER_PARAMETERS']/*"/>
An <seecref="T:SharpDX.XAudio2.FilterType"/> indicating whether the filter is low pass, band pass, high pass, or notch.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_FILTER_PARAMETERS::Type']/*"/>
Filter radian frequency calculated as (2 * sin(pi * (desired filter cutoff frequency) / sampleRate)). The frequency must be greater than or equal to 0 and less than or equal to <seecref="F:SharpDX.XAudio2.XAudio2.MaximumFilterFrequency"/>. The maximum frequency allowable is equal to the source sound's sample rate divided by six which corresponds to the maximum filter radian frequency of 1. For example, if a sound's sample rate is 48000 and the desired cutoff frequency is the maximum allowable value for that sample rate, 8000, the value for Frequency will be 1. <para>If XAUDIO2_HELPER_FUNCTIONS is defined, XAudio2.h will include the XAudio2RadiansToCutoffFrequency and XAudio2CutoffFrequencyToRadians helper functions for converting between hertz and radian frequencies.</para>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_FILTER_PARAMETERS::Frequency']/*"/>
Reciprocal of Q factor. Controls how quickly frequencies beyond Frequency are dampened. Larger values result in quicker dampening while smaller values cause dampening to occur more gradually. Must be greater than 0 and less than or equal to <seecref="F:SharpDX.XAudio2.XAudio2.MaximumFilterOneOverQ"/>.
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_FILTER_PARAMETERS::OneOverQ']/*"/>
<item><term>AudioCyclesSinceLastQuery</term><description> CPU cycles spent on audio processing since the last call to the <seecref="M:SharpDX.XAudio2.XAudio2.StartEngine"/> or <seecref="M:SharpDX.XAudio2.XAudio2.GetPerformanceData(SharpDX.XAudio2.PerformanceData@)"/> function. </description></item>
<item><term>TotalCyclesSinceLastQuery</term><description> Total CPU cycles elapsed since the last call. Note This only counts cycles on the CPU on which XAudio2 is running. </description></item>
<item><term>MinimumCyclesPerQuantum</term><description> Fewest CPU cycles spent on processing any single audio quantum since the last call. </description></item>
<item><term>MaximumCyclesPerQuantum</term><description> Most CPU cycles spent on processing any single audio quantum since the last call. </description></item>
<item><term>MemoryUsageInBytes</term><description> Total memory currently in use. </description></item>
<item><term>CurrentLatencyInSamples</term><description> Minimum delay that occurs between the time a sample is read from a source buffer and the time it reaches the speakers. Windows <para>The delay reported is a variable value equal to the rough distance between the last sample submitted to the driver by XAudio2 and the sample currently playing. The following factors can affect the delay: playing multichannel audio on a hardware-accelerated device; the type of audio device (WavePci, WaveCyclic, or WaveRT); and, to a lesser extent, audio hardware implementation.</para>
Xbox 360 <para>The delay reported is a fixed value, which is normally 1,024 samples (21.333 ms at 48 kHz). If XOverrideSpeakerConfig has been called using the XAUDIOSPEAKERCONFIG_LOW_LATENCY flag, the delay reported is 512 samples (10.667 ms at 48 kHz).</para>
</description></item>
<item><term>GlitchesSinceEngineStarted</term><description> Total audio dropouts since the engine started. </description></item>
<item><term>ActiveSourceVoiceCount</term><description> Number of source voices currently playing. </description></item>
<item><term>TotalSourceVoiceCount</term><description> Total number of source voices currently in existence. </description></item>
<item><term>ActiveSubmixVoiceCount</term><description> Number of submix voices currently playing. </description></item>
<item><term>ActiveResamplerCount</term><description> Number of resampler xAPOs currently active. </description></item>
<item><term>ActiveMatrixMixCount</term><description> Number of matrix mix xAPOs currently active. </description></item>
<item><term>ActiveXmaSourceVoices</term><description> Windows <para>Unsupported.</para>
Xbox 360 <para>Number of source voices decoding XMA data.</para>
</description></item>
<item><term>ActiveXmaStreams</term><description> Windows <para>Unsupported.</para>
Xbox 360 <para>A voice can use more than one XMA stream.</para>
</description></item>
</list>
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_PERFORMANCE_DATA']/*"/>
CPU cycles spent on audio processing since the last call to the <seecref="M:SharpDX.XAudio2.XAudio2.StartEngine"/> or <seecref="M:SharpDX.XAudio2.XAudio2.GetPerformanceData(SharpDX.XAudio2.PerformanceData@)"/> function.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_PERFORMANCE_DATA::AudioCyclesSinceLastQuery']/*"/>
Total CPU cycles elapsed since the last call. Note This only counts cycles on the CPU on which XAudio2 is running.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_PERFORMANCE_DATA::TotalCyclesSinceLastQuery']/*"/>
Fewest CPU cycles spent on processing any single audio quantum since the last call.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_PERFORMANCE_DATA::MinimumCyclesPerQuantum']/*"/>
<unmanaged>unsigned int MinimumCyclesPerQuantum</unmanaged>
Most CPU cycles spent on processing any single audio quantum since the last call.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_PERFORMANCE_DATA::MaximumCyclesPerQuantum']/*"/>
<unmanaged>unsigned int MaximumCyclesPerQuantum</unmanaged>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_PERFORMANCE_DATA::MemoryUsageInBytes']/*"/>
<unmanaged>unsigned int MemoryUsageInBytes</unmanaged>
Minimum delay that occurs between the time a sample is read from a source buffer and the time it reaches the speakers. Windows <para>The delay reported is a variable value equal to the rough distance between the last sample submitted to the driver by XAudio2 and the sample currently playing. The following factors can affect the delay: playing multichannel audio on a hardware-accelerated device; the type of audio device (WavePci, WaveCyclic, or WaveRT); and, to a lesser extent, audio hardware implementation.</para>
Xbox 360 <para>The delay reported is a fixed value, which is normally 1,024 samples (21.333 ms at 48 kHz). If XOverrideSpeakerConfig has been called using the XAUDIOSPEAKERCONFIG_LOW_LATENCY flag, the delay reported is 512 samples (10.667 ms at 48 kHz).</para>
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_PERFORMANCE_DATA::CurrentLatencyInSamples']/*"/>
<unmanaged>unsigned int CurrentLatencyInSamples</unmanaged>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_PERFORMANCE_DATA::GlitchesSinceEngineStarted']/*"/>
<unmanaged>unsigned int GlitchesSinceEngineStarted</unmanaged>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_PERFORMANCE_DATA::ActiveSourceVoiceCount']/*"/>
<unmanaged>unsigned int ActiveSourceVoiceCount</unmanaged>
Total number of source voices currently in existence.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_PERFORMANCE_DATA::TotalSourceVoiceCount']/*"/>
<unmanaged>unsigned int TotalSourceVoiceCount</unmanaged>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_PERFORMANCE_DATA::ActiveSubmixVoiceCount']/*"/>
<unmanaged>unsigned int ActiveSubmixVoiceCount</unmanaged>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_PERFORMANCE_DATA::ActiveResamplerCount']/*"/>
<unmanaged>unsigned int ActiveResamplerCount</unmanaged>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_PERFORMANCE_DATA::ActiveMatrixMixCount']/*"/>
<unmanaged>unsigned int ActiveMatrixMixCount</unmanaged>
Xbox 360 <para>Number of source voices decoding XMA data.</para>
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_PERFORMANCE_DATA::ActiveXmaSourceVoices']/*"/>
<unmanaged>unsigned int ActiveXmaSourceVoices</unmanaged>
Xbox 360 <para>A voice can use more than one XMA stream.</para>
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_PERFORMANCE_DATA::ActiveXmaStreams']/*"/>
<unmanaged>unsigned int ActiveXmaStreams</unmanaged>
<item><term>CreationFlags</term><description> Flags used to create the voice; see the individual voice interfaces for more information. </description></item>
<item><term>ActiveFlags</term><description> Flags that are currently set on the voice. </description></item>
<item><term>InputChannels</term><description> The number of input channels the voice expects. </description></item>
<item><term>InputSampleRate</term><description> The input sample rate the voice expects. </description></item>
</list>
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_VOICE_DETAILS']/*"/>
Flags used to create the voice; see the individual voice interfaces for more information.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_VOICE_DETAILS::CreationFlags']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_VOICE_DETAILS::ActiveFlags']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_VOICE_DETAILS::InputChannels']/*"/>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_VOICE_DETAILS::InputSampleRate']/*"/>
<unmanaged>unsigned int InputSampleRate</unmanaged>
<item><term>Flags</term><description> Indicates whether a filter should be used on data sent to the voice pointed to by pOutputVoice. Flags can be 0 or XAUDIO2_SEND_USEFILTER. </description></item>
<item><term>pOutputVoice</term><description> A reference to an <seecref="T:SharpDX.XAudio2.Voice"/> that will be the target of the send. The pOutputVoice member cannot be <c>null</c>. </description></item>
</list>
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_SEND_DESCRIPTOR']/*"/>
Indicates whether a filter should be used on data sent to the voice pointed to by pOutputVoice. Flags can be 0 or XAUDIO2_SEND_USEFILTER.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_SEND_DESCRIPTOR::Flags']/*"/>
A reference to an <seecref="T:SharpDX.XAudio2.Voice"/> that will be the target of the send. The pOutputVoice member cannot be <c>null</c>.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_SEND_DESCRIPTOR::pOutputVoice']/*"/>
<item><term>SendCount</term><description> Number of voices to receive the output of the voice. An OutputCount value of 0 indicates the voice should not send output to any voices. </description></item>
<item><term>pSends</term><description> Array of <seecref="T:SharpDX.XAudio2.VoiceSendDescriptor"/> structures describing destination voices and the filters that should be used when sending to the voices. This array should contain SendCount elements. If SendCount is 0 pSends should be <c>null</c>. Note that pSends cannot contain the same voice more than once. </description></item>
</list>
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_VOICE_SENDS']/*"/>
Number of voices to receive the output of the voice. An OutputCount value of 0 indicates the voice should not send output to any voices.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_VOICE_SENDS::SendCount']/*"/>
Array of <seecref="T:SharpDX.XAudio2.VoiceSendDescriptor"/> structures describing destination voices and the filters that should be used when sending to the voices. This array should contain SendCount elements. If SendCount is 0 pSends should be <c>null</c>. Note that pSends cannot contain the same voice more than once.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_VOICE_SENDS::pSends']/*"/>
<item><term>pCurrentBufferContext</term><description> Pointer to a buffer context provided in the <seecref="T:SharpDX.XAudio2.AudioBuffer"/> that is processed currently, or, if the voice is stopped currently, to the next buffer due to be processed. pCurrentBufferContext is <c>null</c> if there are no buffers in the queue. </description></item>
<item><term>BuffersQueued</term><description> Number of audio buffers currently queued on the voice, including the one that is processed currently. </description></item>
<item><term>SamplesPlayed</term><description> Total number of samples processed by this voice since it last started, or since the last audio stream ended (as marked with the <seecref="F:SharpDX.XAudio2.BufferFlags.EndOfStream"/> flag). This total includes samples played multiple times due to looping. Theoretically, if all audio emitted by the voice up to this time is captured, this parameter would be the length of the audio stream in samples. If you specify <seecref="F:SharpDX.XAudio2.VoiceFlags.Nosamplesplayed"/> when you call <seecref="M:SharpDX.XAudio2.SourceVoice.GetState(System.Int32)"/>, this member won't be calculated, and its value is unspecified on return from <seecref="M:SharpDX.XAudio2.SourceVoice.GetState(System.Int32)"/>. <seecref="M:SharpDX.XAudio2.SourceVoice.GetState(System.Int32)"/> takes about one-third as much time to complete when you specify <seecref="F:SharpDX.XAudio2.VoiceFlags.Nosamplesplayed"/>. </description></item>
</list>
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_VOICE_STATE']/*"/>
Pointer to a buffer context provided in the <seecref="T:SharpDX.XAudio2.AudioBuffer"/> that is processed currently, or, if the voice is stopped currently, to the next buffer due to be processed. pCurrentBufferContext is <c>null</c> if there are no buffers in the queue.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_VOICE_STATE::pCurrentBufferContext']/*"/>
Number of audio buffers currently queued on the voice, including the one that is processed currently.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_VOICE_STATE::BuffersQueued']/*"/>
Total number of samples processed by this voice since it last started, or since the last audio stream ended (as marked with the <seecref="F:SharpDX.XAudio2.BufferFlags.EndOfStream"/> flag). This total includes samples played multiple times due to looping. Theoretically, if all audio emitted by the voice up to this time is captured, this parameter would be the length of the audio stream in samples. If you specify <seecref="F:SharpDX.XAudio2.VoiceFlags.Nosamplesplayed"/> when you call <seecref="M:SharpDX.XAudio2.SourceVoice.GetState(System.Int32)"/>, this member won't be calculated, and its value is unspecified on return from <seecref="M:SharpDX.XAudio2.SourceVoice.GetState(System.Int32)"/>. <seecref="M:SharpDX.XAudio2.SourceVoice.GetState(System.Int32)"/> takes about one-third as much time to complete when you specify <seecref="F:SharpDX.XAudio2.VoiceFlags.Nosamplesplayed"/>.
</summary>
<!-- No matching elements were found for the following include tag --><includefile=".\..\Documentation\CodeComments.xml"path="/comments/comment[@id='XAUDIO2_VOICE_STATE::SamplesPlayed']/*"/>