foobar2000 SDK  2015-08-03
Public Member Functions | Protected Member Functions
playback_stream_capture_callbackabstract

#include <playback_stream_capture.h>

Public Member Functions

virtual void on_chunk (const audio_chunk &)=0
 

Protected Member Functions

 playback_stream_capture_callback ()
 
 ~playback_stream_capture_callback ()
 

Detailed Description

Since
1.0

Definition at line 2 of file playback_stream_capture.h.

Constructor & Destructor Documentation

playback_stream_capture_callback::playback_stream_capture_callback ( )
inlineprotected

Definition at line 9 of file playback_stream_capture.h.

9 {}
playback_stream_capture_callback::~playback_stream_capture_callback ( )
inlineprotected

Definition at line 10 of file playback_stream_capture.h.

10 {}

Member Function Documentation

virtual void playback_stream_capture_callback::on_chunk ( const audio_chunk )
pure virtual

Delivers a real-time chunk of audio data.
Audio is roughly synchronized with what can currently be heard. This API is provided for utility purposes such as streaming; if you want to implement a visualisation, use the visualisation_manager API instead.
Called only from the main thread.


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