Click or drag to resize
IAudioReader Interface
IAudioReader interface provides methods for reading audio data.

Namespace: Alvas.Audio
Assembly: Alvas.Audio (in Alvas.Audio.dll) Version: 2016.0.6173.41573
Syntax
public interface IAudioReader

The IAudioReader type exposes the following members.

Methods
  NameDescription
Public methodClose
Closes the current reader and the underlying stream.
Public methodGetDurationInMS
Gets audio stream duration in milliseconds.
Public methodGetLengthInBytes
Gets audio stream length in bytes.
Public methodMilliseconds2Bytes
Converts from milliseconds to bytes for current stream.
Public methodReadData
Reads all audio data from the stream.
Public methodReadData(Int32)
Reads audio data from the stream.
Public methodReadData(Int32, Int32)
Reads audio data from the stream.
Public methodReadDataInBytes(Int32)
Reads audio data from the stream.
Public methodReadDataInBytes(Int32, Int32)
Reads audio data from the stream.
Public methodReadFormat
Reads an audio format.
Top
See Also