33 std::string
stateToStr(
const TransportState state)
const;
Utility class for managing state of application and all audio related processes.
Definition: transport.h:19
bool play()
Playback previously recorded audio.
Definition: transport.cpp:36
bool record()
Start and handle the process of recording.
Definition: transport.cpp:16
std::string stateToStr(const TransportState state) const
Convert an enum of type TransportState to a presentable string.
Definition: transport.cpp:68
bool pause()
Enter the paused state for playback or recording.
Definition: transport.cpp:46
TransportState getState() const
Return the current state of the Transport object.
Definition: transport.cpp:58
bool stop()
Enter the stopped state for playback or recording.
Definition: transport.cpp:26
Transport()
Construct a new instance of the Transport class.
Definition: transport.cpp:8