19 std::thread recordThread;
21 std::atomic<bool> endRecord;
23 std::vector<std::string> exportPaths;
39 #endif // END HL_RECORD_H
void start()
Starts the capture of audio data by adding ringbuffer to Controller and reading from ringbuffer...
Definition: Record.cpp:34
Record(Controller *control)
Construct a new Record to capture audio data and store in temp file.
Definition: Record.cpp:16
HulaLoop wrapper class for PortAudio ring buffer.
Definition: HulaRingBuffer.h:86
Class for Recording audio and abstracting OS specific stuff.
Definition: Record.h:13
Wrapper around translation functions for Qt.
Definition: Controller.h:10
~Record()
Delete instance of the ringbuffer used.
Definition: Record.cpp:128
std::vector< std::string > getExportPaths()
Get list of all files that contains captured audio in the current recording session.
Definition: Record.cpp:109
void stop()
Stops the capture of audio data by removing ringbuffer from Controller.
Definition: Record.cpp:94
Central component of the audio backend.
Definition: Controller.h:18
void clearExportPaths()
Clear the vector to denote that the captured data has been discarded or exported to a new file...
Definition: Record.cpp:119