This documentation is for the old version. Go to the latest Graphics Mill docs

AviAudioManager.GetBitsPerSample Method

Returns the number of bits per sample in the specified audio stream.

Namespace: Aurigma.GraphicsMill.Codecs
Assembly: Aurigma.GraphicsMill.Codecs.AviProcessor (in Aurigma.GraphicsMill.Codecs.AviProcessor.dll)

Syntax

Visual Basic
Public Function GetBitsPerSample ( _
	streamIndex As Integer _
) As Integer
C#
public int GetBitsPerSample(
	int streamIndex
)

Parameters

streamIndex

Type: System.Int32

An index of the audio stream.

Return Value

An integer value containing the number of bits per sample in the specified audio stream.

Remarks

Stream indexes are zero-based. To get the total number of audio streams, use the AudioStreamCount property.

Note

You can use this member only if you get this instance of the AviAudioManager from the reader object.

See Also

Reference