FQLab
A spectral audio sandbox
 
Loading...
Searching...
No Matches
FQLab.IAudioPlayer Interface Reference

Final component of the audio pipeline. Responsible for playing samples on an audio source. More...

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

Public Member Functions

void Initialize (IAudioStream audioStream)
 
void Play (AudioFrame audioFrame)
 Receives the AudioFrame and plays it.
 
void Pause ()
 Pauses playback.
 
void Resume ()
 Resumes playback.
 

Detailed Description

Final component of the audio pipeline. Responsible for playing samples on an audio source.

Member Function Documentation

◆ Initialize()

void FQLab.IAudioPlayer.Initialize ( IAudioStream  audioStream)

Implemented in FQLab.NAudioPlayer, FQLab.LoggerAudioPlayer, and FQLabTests.MockAudioPlayer.

Here is the caller graph for this function:

◆ Pause()

void FQLab.IAudioPlayer.Pause ( )

Pauses playback.

Implemented in FQLab.NAudioPlayer, FQLab.LoggerAudioPlayer, and FQLabTests.MockAudioPlayer.

Here is the caller graph for this function:

◆ Play()

void FQLab.IAudioPlayer.Play ( AudioFrame  audioFrame)

Receives the AudioFrame and plays it.

Parameters
audioFrameFrame with PCM samples.

Implemented in FQLab.NAudioPlayer, FQLab.LoggerAudioPlayer, and FQLabTests.MockAudioPlayer.

Here is the caller graph for this function:

◆ Resume()

void FQLab.IAudioPlayer.Resume ( )

Resumes playback.

Implemented in FQLab.NAudioPlayer, FQLab.LoggerAudioPlayer, and FQLabTests.MockAudioPlayer.

Here is the caller graph for this function:

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