Struct Stream
public struct Stream : IAudioStream, IDisposable
- Implements
- Inherited Members
Constructors
Stream(void*)
public Stream(void* stream)
Parameters
stream
void*
Properties
Format
public AudioFormat Format { get; }
Property Value
PcmLength
public ulong PcmLength { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
FromFile(string)
public static Stream FromFile(string path)
Parameters
path
string
Returns
GetBuffer(ref byte[])
public ulong GetBuffer(ref byte[] buf)
Parameters
buf
byte[]
Returns
GetPcm()
public byte[] GetPcm()
Returns
- byte[]
Restart()
public void Restart()
Seek(double)
public void Seek(double position)
Parameters
position
double
SeekSamples(ulong)
public void SeekSamples(ulong position)
Parameters
position
ulong