MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ refresh_data()

bool MayaFlux::Buffers::MixSource::refresh_data ( )

Definition at line 17 of file MixProcessor.cpp.

18{
19 if (buffer_ref.expired()) {
20 return false;
21 }
22
23 if (auto buffer = buffer_ref.lock()) {
24 data = buffer->get_data();
25 return !data.empty();
26 }
27
28 return false;
29}
std::weak_ptr< AudioBuffer > buffer_ref

References buffer_ref, and data.