|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
RAII helper for Playhead audio processing block. More...
#include <src/dsp/playhead.h>
Public Member Functions | |
| PlayheadProcessingGuard (Playhead &playhead) noexcept | |
| Constructor - calls playhead.prepare_for_processing(). | |
| ~PlayheadProcessingGuard () noexcept | |
| Destructor - calls playhead.finalize_processing(). | |
| PlayheadProcessingGuard (const PlayheadProcessingGuard &)=delete | |
| PlayheadProcessingGuard & | operator= (const PlayheadProcessingGuard &)=delete |
RAII helper for Playhead audio processing block.
Automatically calls prepare_for_processing() on construction and finalize_processing() on destruction.
Definition at line 240 of file playhead.h.
|
inlineexplicitnoexcept |
Constructor - calls playhead.prepare_for_processing().
| playhead | Playhead instance to manage |
Definition at line 247 of file playhead.h.
|
inlinenoexcept |
Destructor - calls playhead.finalize_processing().
Definition at line 254 of file playhead.h.