|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| MayaFlux::Buffers::AudioBuffer::AudioBuffer | ( | uint32_t | channel_id, |
| uint32_t | num_samples = 512 |
||
| ) |
Creates a new audio buffer with specified channel and capacity.
| channel_id | Audio channel identifier for this buffer |
| num_samples | Buffer capacity in audio samples (default: 512) |
Initializes an audio buffer with the specified channel ID and allocates memory for the specified number of double-precision audio samples. The default capacity of 512 samples is optimized for typical audio processing block sizes.
Definition at line 15 of file AudioBuffer.cpp.
References MayaFlux::Config::get_buffer_size(), and m_data.
Here is the call graph for this function: