Method | Description | |
---|---|---|
Close ( ) : void |
Closes the underlying stream.
|
|
Decode ( ) : |
Decodes the Wave stream into a Signal object.
|
|
Decode ( int frames ) : |
Decodes the Wave stream into a Signal object.
|
|
Decode ( int index, int frames ) : |
Decodes the Wave stream into a Signal object.
|
|
Open ( SharpDX.Multimedia.SoundStream stream ) : int |
Opens the specified stream.
|
|
Open ( Stream stream ) : int |
Open specified stream.
|
|
Open ( string path ) : int |
Open specified stream.
|
|
Seek ( int frameIndex ) : void |
Navigates to a position in this Wave stream.
|
|
WaveDecoder ( ) : System |
Constructs a new Wave decoder.
|
|
WaveDecoder ( Stream stream ) : System |
Constructs a new Wave decoder.
|
|
WaveDecoder ( string path ) : System |
Constructs a new Wave decoder.
|
Method | Description | |
---|---|---|
read ( byte buffer, int count ) : int |
Reads a maximum of count frames from the current stream, and writes the data to buffer, beginning at index.
|
|
read ( float buffer, int count ) : int |
Reads a maximum of count samples from the current stream, and writes the data to buffer, beginning at index.
|
|
read ( int buffer, int count ) : int |
Reads a maximum of count frames from the current stream, and writes the data to buffer, beginning at index.
|
|
read ( short buffer, int count ) : int |
Reads a maximum of count frames from the current stream, and writes the data to buffer, beginning at index.
|
|
readAsFloat ( float buffer, int count ) : int |
public Decode ( int frames ) : |
||
frames | int | The number of frames to decode. |
return |
public Decode ( int index, int frames ) : |
||
index | int | Audio frame index to start decoding. |
frames | int | The number of frames to decode. |
return |
public Open ( SharpDX.Multimedia.SoundStream stream ) : int | ||
stream | SharpDX.Multimedia.SoundStream | Stream to open. |
return | int |
public Open ( string path ) : int | ||
path | string | Path of file to open as stream. |
return | int |
public Seek ( int frameIndex ) : void | ||
frameIndex | int | The index of the sample to navigate to. |
return | void |
public WaveDecoder ( Stream stream ) : System | ||
stream | Stream | |
return | System |