Loading...
Searching...
No Matches
Nodes::Looper::export_buffer Struct Reference
Detailed Description
Where a looper flattens a loop for a worker to write it. Shared with the worker, so that a looper removed while its take is being written does not take the audio away from under it.
Public Member Functions | |
| float * | channel (int c) noexcept |
Static Public Member Functions | |
| static std::shared_ptr< export_buffer > | make (int channels, int64_t frames) |
| Main thread only. The memory is reserved without being written. | |
Public Attributes | |
| boost::container::vector< float > | data |
| int | channels {} |
| int64_t | capacity {} |
| std::atomic_bool | in_use {} |
Member Data Documentation
◆ in_use
| std::atomic_bool Nodes::Looper::export_buffer::in_use {} |
A job is writing it: the processing thread does not write it until the job is over. The job may outlive the looper that made it.
The documentation for this struct was generated from the following file: