Share via


AudioStreamFormat.GetWaveFormatPCM(UInt32, Byte, Byte) Methode

Definition

Erstellt ein Audiostreamformatobjekt mit den angegebenen PCM-Wellenformateigenschaften.

public static Microsoft.CognitiveServices.Speech.Audio.AudioStreamFormat GetWaveFormatPCM (uint samplesPerSecond, byte bitsPerSample, byte channels);
static member GetWaveFormatPCM : uint32 * byte * byte -> Microsoft.CognitiveServices.Speech.Audio.AudioStreamFormat
Public Shared Function GetWaveFormatPCM (samplesPerSecond As UInteger, bitsPerSample As Byte, channels As Byte) As AudioStreamFormat

Parameter

samplesPerSecond
UInt32

Abtastrate in Stichproben pro Sekunde (Hertz).

bitsPerSample
Byte

Bits pro Beispiel.

channels
Byte

Anzahl der Kanäle in den Waveform-Audiodaten.

Gibt zurück

Das Audiostreamformat, das erstellt wird.

Hinweise

Weitere Informationen:

Gilt für: