FQLab
A spectral audio sandbox
 
Loading...
Searching...
No Matches
FQLab.NAudioReaderAdapter Class Reference

Helper class that retypes the external NAudioReader to the project specific IAudioReader. More...

Inheritance diagram for FQLab.NAudioReaderAdapter:
Inheritance graph
Collaboration diagram for FQLab.NAudioReaderAdapter:
Collaboration graph

Public Member Functions

 NAudioReaderAdapter (string filePath)
 
int Read (float[] buffer, int offset, int count)
 
void Dispose ()
 

Properties

AudioFormat Format [get]
 
WaveFormat WaveFormat [get]
 
- Properties inherited from FQLab.IAudioReader

Private Attributes

readonly AudioFileReader _reader
 

Detailed Description

Helper class that retypes the external NAudioReader to the project specific IAudioReader.

Constructor & Destructor Documentation

◆ NAudioReaderAdapter()

FQLab.NAudioReaderAdapter.NAudioReaderAdapter ( string  filePath)
inline
Here is the call graph for this function:

Member Function Documentation

◆ Dispose()

void FQLab.NAudioReaderAdapter.Dispose ( )
inline

◆ Read()

int FQLab.NAudioReaderAdapter.Read ( float[]  buffer,
int  offset,
int  count 
)
inline

Member Data Documentation

◆ _reader

readonly AudioFileReader FQLab.NAudioReaderAdapter._reader
private

Property Documentation

◆ Format

AudioFormat FQLab.NAudioReaderAdapter.Format
get

Implements FQLab.IAudioReader.

◆ WaveFormat

WaveFormat FQLab.NAudioReaderAdapter.WaveFormat
get

The documentation for this class was generated from the following file: