SpeechAudioFormatInfo Constructor (EncodingFormat, Int32, Int32, Int32, Int32, Int32, Byte[])
Creates a new instance of SpeechAudioFormatInfo.
Namespace: Microsoft.Speech.AudioFormat
Assembly: Microsoft.Speech (in microsoft.speech.dll)
Syntax
'Declaration
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)> _
Public Sub New ( _
encodingFormat As EncodingFormat, _
samplesPerSecond As Integer, _
bitsPerSample As Integer, _
channelCount As Integer, _
averageBytesPerSecond As Integer, _
blockAlign As Integer, _
formatSpecificData As Byte() _
)
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public SpeechAudioFormatInfo (
EncodingFormat encodingFormat,
int samplesPerSecond,
int bitsPerSample,
int channelCount,
int averageBytesPerSecond,
int blockAlign,
byte[] formatSpecificData
)
[EditorBrowsableAttribute(EditorBrowsableState::Advanced)]
public:
SpeechAudioFormatInfo (
EncodingFormat encodingFormat,
int samplesPerSecond,
int bitsPerSample,
int channelCount,
int averageBytesPerSecond,
int blockAlign,
array<unsigned char>^ formatSpecificData
)
/** @attribute EditorBrowsableAttribute(EditorBrowsableState.Advanced) */
public SpeechAudioFormatInfo (
EncodingFormat encodingFormat,
int samplesPerSecond,
int bitsPerSample,
int channelCount,
int averageBytesPerSecond,
int blockAlign,
byte[] formatSpecificData
)
EditorBrowsableAttribute(EditorBrowsableState.Advanced)
public function SpeechAudioFormatInfo (
encodingFormat : EncodingFormat,
samplesPerSecond : int,
bitsPerSample : int,
channelCount : int,
averageBytesPerSecond : int,
blockAlign : int,
formatSpecificData : byte[]
)
Parameters
- encodingFormat
An EncodingFormat object.
- samplesPerSecond
An int containing the samples per second value.
- bitsPerSample
An int containing the bits per sample value.
- channelCount
An int containing the channel count value.
- averageBytesPerSecond
An int containing the average bytes per second value.
- blockAlign
An int containing the BlockAlign value.
- formatSpecificData
A byte array containing the format-specific data.
Platforms
Development Platforms
Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition
Target Platforms
See Also
Reference
SpeechAudioFormatInfo Class
SpeechAudioFormatInfo Members
Microsoft.Speech.AudioFormat Namespace