Share via


Note

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

SpeechAudioFormatInfo.SamplesPerSecond Property

Gets the samples per second of the audio.

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

Syntax

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

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

Property Value

Type: System.Int32
An int containing the samples per second value.

See Also

Reference

SpeechAudioFormatInfo Class

SpeechAudioFormatInfo Members

Microsoft.Speech.AudioFormat Namespace