![]() |
HulaLoop
Simple cross-platform audio loopback and recording.
|
A audio class that captures system wide audio on Windows. More...
#include <WindowsAudio.h>


Public Member Functions | |
| ~WindowsAudio () | |
| Clear all global pointers. | |
| vector< Device * > | getInputDevices () |
| Receive the list of available input audio devices connected to the OS and return them as Device instances. More... | |
| vector< Device * > | getOutputDevices () |
| Receive the list of available output audio devices connected to the OS and return them as Device instances. More... | |
| void | capture () |
| Execution loop for loopback capture. | |
| void | setActiveOutputDevice (Device *device) |
| Set the selected output device and restart capture threads with new device. More... | |
Public Member Functions inherited from OSAudio | |
| virtual | ~OSAudio ()=0 |
| Virtual implementation of Destructor. | |
| void | setBufferSize (uint32_t size) |
| Set the desired capture buffer size. More... | |
| void | addBufferReadyCallback (ICallback *c) |
| Add upper layer functions to the callback list. More... | |
| void | removeBufferReadyCallback (ICallback *func) |
| Remove upper layer functions to the callback list. More... | |
| void | setActiveRecordDevice (Device *device) |
| Set the selected input device and restart capture threads with new device. More... | |
Static Public Member Functions | |
| static void | test_capture (WindowsAudio *param) |
| Static function in the current instance of the class to allow thread execution. More... | |
Additional Inherited Members | |
Protected Attributes inherited from OSAudio | |
| Device * | activeInputDevice |
| The selected input device. | |
| Device * | activeOutputDevice |
| The selected output device. | |
| vector< ICallback * > | callbackList |
| List of all added callback function. | |
| vector< thread > | execThreads |
| List of all running threads. | |
| uint32_t | captureBufferSize |
A audio class that captures system wide audio on Windows.
|
virtual |
|
virtual |
|
virtual |
|
static |
Static function in the current instance of the class to allow thread execution.
| _this | Instance of the current object |
1.8.11