FQLab
A spectral audio sandbox
 
Loading...
Searching...
No Matches
FQLabTests.MockAudioStream Class Reference
Inheritance diagram for FQLabTests.MockAudioStream:
Inheritance graph
Collaboration diagram for FQLabTests.MockAudioStream:
Collaboration graph

Public Member Functions

 MockAudioStream (int totalSamples)
 
void Dispose ()
 
AudioFrameReadFrame (int size)
 Request PCM samples from the file of given size.
 

Properties

int TotalSamples [get]
 
AudioFormat Format [get]
 Stream metadata.
 
- Properties inherited from FQLab.IAudioStream

Private Attributes

int readCounter = 0
 

Constructor & Destructor Documentation

◆ MockAudioStream()

FQLabTests.MockAudioStream.MockAudioStream ( int  totalSamples)
inline

Member Function Documentation

◆ Dispose()

void FQLabTests.MockAudioStream.Dispose ( )
inline

◆ ReadFrame()

AudioFrame? FQLabTests.MockAudioStream.ReadFrame ( int  size)
inline

Request PCM samples from the file of given size.

Parameters
sizeSize of request.
Returns
PCM samples.

Implements FQLab.IAudioStream.

Here is the call graph for this function:

Member Data Documentation

◆ readCounter

int FQLabTests.MockAudioStream.readCounter = 0
private

Property Documentation

◆ Format

AudioFormat FQLabTests.MockAudioStream.Format
get

Stream metadata.

Implements FQLab.IAudioStream.

◆ TotalSamples

int FQLabTests.MockAudioStream.TotalSamples
get

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