SpeechAudioFormatInfo Constructor (Int32, AudioBitsPerSample, AudioChannel)

Creates a new instance of SpeechAudioFormatInfo.

Namespace: Microsoft.Speech.AudioFormat
Assembly: Microsoft.Speech (in microsoft.speech.dll)

Syntax

'Declaration
Public Sub New ( _
    samplesPerSecond As Integer, _
    bitsPerSample As AudioBitsPerSample, _
    channel As AudioChannel _
)
public SpeechAudioFormatInfo (
    int samplesPerSecond,
    AudioBitsPerSample bitsPerSample,
    AudioChannel channel
)
public:
SpeechAudioFormatInfo (
    int samplesPerSecond, 
    AudioBitsPerSample bitsPerSample, 
    AudioChannel channel
)
public SpeechAudioFormatInfo (
    int samplesPerSecond, 
    AudioBitsPerSample bitsPerSample, 
    AudioChannel channel
)
public function SpeechAudioFormatInfo (
    samplesPerSecond : int, 
    bitsPerSample : AudioBitsPerSample, 
    channel : AudioChannel
)

Parameters

  • samplesPerSecond
    An int containing the samples per second value.
  • bitsPerSample
    An int containing the bits per sample value.
  • channel
    A member of the AudioChannel enumeration (ie., Mono or Stereo).

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