Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

SpeechAudioFormatInfo.BitsPerSample Property

Gets the bits per sample of the audio.

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

Syntax

'Declaration
Public ReadOnly Property BitsPerSample As Integer
    Get
'Usage
Dim instance As SpeechAudioFormatInfo
Dim value As Integer

value = instance.BitsPerSample
public int BitsPerSample { get; }

Property Value

Type: System.Int32
An int containing the bits per sample value.

See Also

Reference

SpeechAudioFormatInfo Class

SpeechAudioFormatInfo Members

Microsoft.Speech.AudioFormat Namespace