A wave file reader supporting cue reading.
More...
|
| CueWaveFileReader (string fileName) |
| Loads a wavefile and supports reading cues.
|
|
| CueWaveFileReader (Stream inputStream) |
| Loads a wave from a stream and supports reading cues.
|
|
| WaveFileReader (String waveFile) |
| Supports opening a WAV file.
|
|
| WaveFileReader (Stream inputStream) |
| Creates a Wave File Reader based on an input stream.
|
|
byte[] | GetChunkData (RiffChunk chunk) |
| Retrieves the data of a specific RIFF chunk from the wave stream.
|
|
override int | Read (byte[] array, int offset, int count) |
| Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
|
|
float[] | ReadNextSampleFrame () |
| Reads the next sample frame from the audio data and returns it as an array of floats.
|
|
bool | TryReadFloat (out float sampleValue) |
| Tries to read the next sample frame and returns a float value if successful.
|
|
override void | Flush () |
| Flushes the buffer of the current stream and causes any buffered data to be written to the underlying device.
|
|
override long | Seek (long offset, SeekOrigin origin) |
| Sets the position within the current stream.
|
|
override void | SetLength (long length) |
| Throws a NotSupportedException with the message "Can't set length of a WaveFormatString".
|
|
override void | Write (byte[] buffer, int offset, int count) |
| Throws a NotSupportedException with the message "Can't write to a WaveFormatString".
|
|
void | Skip (int seconds) |
| Skips the playback to a new position in the audio file based on the specified number of seconds.
|
|
virtual bool | HasData (int count) |
| Checks if there is data available at the current position.
|
|
|
CueList | Cues [get] |
| Cue List (can be null if cues not present)
|
|
List< RiffChunk > | ExtraChunks [get] |
| Gets a list of the additional chunks found in this file.
|
|
override WaveFormat | WaveFormat [get] |
| WaveStream.WaveFormat
|
|
override long | Length [get] |
| This is the length of audio data contained in this WAV file, in bytes (i.e. the byte length of the data chunk, not the length of the WAV file itself) WaveStream.WaveFormat
|
|
long | SampleCount [get] |
| Number of Sample Frames (if possible to calculate) This currently does not take into account number of channels Multiply number of channels if you want the total number of samples.
|
|
override long | Position [get, set] |
| Position in the WAV data chunk. Stream.Position
|
|
WaveFormat | WaveFormat [get] |
| Retrieves the WaveFormat for this stream.
|
|
override bool | CanRead [get] |
| We can read from this stream.
|
|
override bool | CanSeek [get] |
| We can seek within this stream.
|
|
override bool | CanWrite [get] |
| We can't write to this stream.
|
|
virtual int | BlockAlign [get] |
| The block alignment for this wavestream. Do not modify the Position to anything that is not a whole multiple of this value.
|
|
virtual TimeSpan | CurrentTime [get, set] |
| The current position in the stream in Time format.
|
|
virtual TimeSpan | TotalTime [get] |
| Total length in real-time of the stream (may be an estimate for compressed files)
|
|
|
override void | Dispose (bool disposing) |
| Releases the unmanaged resources used by the WaveFileReader and optionally releases the managed resources.
|
|
A wave file reader supporting cue reading.
◆ CueWaveFileReader() [1/2]
NAudio.Wave.CueWaveFileReader.CueWaveFileReader |
( |
string | fileName | ) |
|
|
inline |
Loads a wavefile and supports reading cues.
- Parameters
-
◆ CueWaveFileReader() [2/2]
NAudio.Wave.CueWaveFileReader.CueWaveFileReader |
( |
Stream | inputStream | ) |
|
|
inline |
Loads a wave from a stream and supports reading cues.
- Parameters
-
◆ cues
CueList NAudio.Wave.CueWaveFileReader.cues |
|
private |
◆ Cues
CueList NAudio.Wave.CueWaveFileReader.Cues |
|
get |
Cue List (can be null if cues not present)
The documentation for this class was generated from the following file:
- /Users/sumansaurabh/Documents/my-startup/xeno-rat/Plugins/LiveMicrophone/lib/NAudio.Core/Wave/WaveStreams/CueWaveFileReader.cs