Loading...
Searching...
No Matches
avnd_tools::AudioRecorder Struct Reference
Detailed Description
Records audio into a WAV file.
Writing to the disk is done in a worker thread as is tradition.
Classes | |
struct | process_message |
struct | recorder_thread |
struct | reset_message |
Public Types | |
using | audio_buffer = boost::container::vector< double > |
using | worker_message = ossia::variant< reset_message, process_message > |
Public Attributes | ||
ossia team Records audio to a file | https: halp_meta(uuid | |
std::shared_ptr< recorder_thread > | impl | |
struct { | ||
std::function< void(std::shared_ptr< recorder_thread >, worker_message)> request | ||
} | worker | |
struct { | ||
halp::dynamic_audio_bus<"Audio", double > audio | ||
filename | ||
bool prev {false} | ||
record | ||
} | inputs | |
struct { | ||
halp::callback<"Filename", std::string > finished | ||
} | outputs | |
const score::DocumentContext * | ossia_document_context {} | |
int | current_rate = 0 | |
bool | started {} | |
std::optional< int64_t > | first_message_sent_pos | |
std::optional< int64_t > | last_message_sent_pos | |
audio_buffer | data | |
std::string | filename_to_output | |
The documentation for this struct was generated from the following file: