|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::read_from_audio_input | ( | const std::shared_ptr< Buffers::AudioBuffer > & | buffer, |
| uint32_t | channel = 0 |
||
| ) |
Reads audio data from the default input source into a buffer.
| buffer | Buffer to read audio data into |
| channel | Channel index to read from (default: 0) |
Reads audio data from the default input source (e.g., microphone) and fills the provided AudioBuffer with the captured audio samples. This function is typically used to capture live audio input for processing.
Definition at line 170 of file Graph.cpp.
References get_buffer_manager().
Referenced by create_input_listener_buffer().
Here is the call graph for this function:
Here is the caller graph for this function: