Click or drag to resize
IAudioReadWriter Interface
IAudioReadWriter interface provides methods for reading/writing audio data.

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

The IAudioReadWriter type exposes the following members.

Methods
  NameDescription
Public methodClose
Closes the current reader and the underlying stream.
(Inherited from IAudioReader.)
Public methodGetDurationInMS
Gets audio stream duration in milliseconds.
(Inherited from IAudioReader.)
Public methodGetLengthInBytes
Gets audio stream length in bytes.
(Inherited from IAudioReader.)
Public methodMilliseconds2Bytes
Converts from milliseconds to bytes for current stream.
(Inherited from IAudioReader.)
Public methodReadData
Reads all audio data from the stream.
(Inherited from IAudioReader.)
Public methodReadData(Int32)
Reads audio data from the stream.
(Inherited from IAudioReader.)
Public methodReadData(Int32, Int32)
Reads audio data from the stream.
(Inherited from IAudioReader.)
Public methodReadDataInBytes(Int32)
Reads audio data from the stream.
(Inherited from IAudioReader.)
Public methodReadDataInBytes(Int32, Int32)
Reads audio data from the stream.
(Inherited from IAudioReader.)
Public methodReadFormat
Reads an audio format.
(Inherited from IAudioReader.)
Public methodWriteData(Byte)
Writes an audio byte array
(Inherited from IAudioWriter.)
Public methodWriteData(Byte, Int64)
Writes an audio byte array to the underlying stream from specified position.
(Inherited from IAudioWriter.)
Public methodWriteData(Byte, Int64, WriteMode)
Writes an audio byte array from specified position in specified mode
(Inherited from IAudioWriter.)
Top
See Also