![]() |
HulaLoop
Simple cross-platform audio loopback and recording.
|
Class for Recording audio and abstracting OS specific stuff. More...
#include <Record.h>
Public Member Functions | |
| Record (Controller *control) | |
| Construct a new Record to capture audio data and store in temp file. More... | |
| ~Record () | |
| Delete instance of the ringbuffer used. More... | |
| void | recorder () |
| std::vector< std::string > | getExportPaths () |
| Get list of all files that contains captured audio in the current recording session. More... | |
| void | clearExportPaths () |
| Clear the vector to denote that the captured data has been discarded or exported to a new file. More... | |
| void | start () |
| Starts the capture of audio data by adding ringbuffer to Controller and reading from ringbuffer. More... | |
| void | stop () |
| Stops the capture of audio data by removing ringbuffer from Controller. More... | |
Class for Recording audio and abstracting OS specific stuff.
| Record::Record | ( | Controller * | control | ) |
Construct a new Record to capture audio data and store in temp file.
| control | Controller instance that will be used to interact with the ringbuffer |
| Record::~Record | ( | ) |
Delete instance of the ringbuffer used.
| void Record::clearExportPaths | ( | ) |
Clear the vector to denote that the captured data has been discarded or exported to a new file.
| std::vector< std::string > Record::getExportPaths | ( | ) |
Get list of all files that contains captured audio in the current recording session.
| void Record::start | ( | ) |
Starts the capture of audio data by adding ringbuffer to Controller and reading from ringbuffer.
| void Record::stop | ( | ) |
Stops the capture of audio data by removing ringbuffer from Controller.
1.8.11