Condividi tramite


AudioStreamFormat.GetWaveFormatPCM(UInt32, Byte, Byte) Metodo

Definizione

Crea un oggetto formato di flusso audio con le caratteristiche di waveformat PCM specificate.

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

Parametri

samplesPerSecond
UInt32

Frequenza di esempio, nei campioni al secondo (Hertz).

bitsPerSample
Byte

Bit per esempio.

channels
Byte

Numero di canali nei dati waveform-audio.

Restituisce

Formato di flusso audio creato.

Commenti

Vedere anche: 8b98273f908d40a0adacae85a32cf23953105ae44353b44f34f34f3486cf75a6f

Si applica a