메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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. |
리턴 |
public Decode ( int index, int frames ) : |
||
index | int | Audio frame index to start decoding. |
frames | int | The number of frames to decode. |
리턴 |
public Open ( SharpDX.Multimedia.SoundStream stream ) : int | ||
stream | SharpDX.Multimedia.SoundStream | Stream to open. |
리턴 | int |
public Seek ( int frameIndex ) : void | ||
frameIndex | int | The index of the sample to navigate to. |
리턴 | void |