|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
|
virtual |
Reads audio data into the buffer from the audio backend.
| buffer | Shared pointer to the AudioBuffer to read data into |
| force | Whether to force reading even if in processing state |
This method attempts to read audio data from the audio backend into the provided AudioBuffer. If force is true, it will attempt to read even if the current buffer or the copy buffer are in processing state
Definition at line 94 of file AudioBuffer.cpp.
References MayaFlux::Journal::BufferProcessing, MayaFlux::Journal::Buffers, m_data, m_has_data, m_is_processing, m_num_samples, MF_ERROR, and MF_WARN.