8 #include "WindowsAudio.h" 28 vector<ICallback*> callbackList;
A class that structures the receival of audio from the OS framework.
Definition: Controller.h:23
~Controller()
Deconstructs the current instance of the Controller class.
Definition: Controller.cpp:81
void addBufferReadyCallback(ICallback *func)
Add upper layer functions to the callback list.
Definition: Controller.cpp:50
Callback "Interface" used to add and remove to callback list.
Definition: ICallback.h:10
Controller()
Construct an instance of Controller class.
Definition: Controller.cpp:7
void removeBufferReadyCallback(ICallback *func)
Remove upper layer functions to the callback list.
Definition: Controller.cpp:66
void handleData(byte *data, uint32_t size)
Callback function that is triggered when audio is captured by OSAudio.
Definition: Controller.cpp:36
An abstract class that defines the components of the particular OS specfic classes.
Definition: OSAudio.h:21