![]() |
HulaLoop
Simple cross-platform audio loopback and recording.
|
Utility class for managing state of application and all audio related processes. More...
#include <transport.h>
Public Member Functions | |
| Transport () | |
| Construct a new instance of the Transport class. | |
| bool | record () |
| Start and handle the process of recording. | |
| bool | stop () |
| Enter the stopped state for playback or recording. | |
| bool | play () |
| Playback previously recorded audio. | |
| bool | pause () |
| Enter the paused state for playback or recording. | |
| TransportState | getState () const |
| Return the current state of the Transport object. More... | |
| std::string | stateToStr (const TransportState state) const |
| Convert an enum of type TransportState to a presentable string. More... | |
Utility class for managing state of application and all audio related processes.
| TransportState Transport::getState | ( | ) | const |
Return the current state of the Transport object.
| std::string Transport::stateToStr | ( | const TransportState | state | ) | const |
Convert an enum of type TransportState to a presentable string.
1.8.11