![]() |
Audacity 3.2.0
|
Brackets one block of processing in one thread. More...
#include <RealtimeEffectManager.h>
Public Member Functions | |
ProcessingScope () | |
ProcessingScope (InitializationScope &, std::weak_ptr< AudacityProject > wProject) | |
Require a prior InializationScope to ensure correct nesting. More... | |
ProcessingScope (ProcessingScope &&other)=default | |
ProcessingScope & | operator= (ProcessingScope &&other)=default |
~ProcessingScope () | |
size_t | Process (const Track &track, float *const *buffers, float *const *scratch, float *dummy, unsigned nBuffers, size_t numSamples) |
Private Attributes | |
RealtimeEffectManager::AllListsLock | mLocks |
std::weak_ptr< AudacityProject > | mwProject |
bool | mSuspended {} |
Brackets one block of processing in one thread.
Definition at line 249 of file RealtimeEffectManager.h.
|
inline |
Definition at line 251 of file RealtimeEffectManager.h.
References RealtimeEffectManager::Get(), manager, mLocks, mSuspended, and mwProject.
|
inlineexplicit |
Require a prior InializationScope to ensure correct nesting.
Definition at line 260 of file RealtimeEffectManager.h.
References RealtimeEffectManager::Get(), mSuspended, mwProject, and RealtimeEffectManager::ProcessStart().
|
default |
|
inline |
Definition at line 269 of file RealtimeEffectManager.h.
References RealtimeEffectManager::Get(), mSuspended, mwProject, and RealtimeEffectManager::ProcessEnd().
|
default |
|
inline |
nBuffers | how many buffers; equal number of scratches |
numSamples | length of each buffer |
Definition at line 276 of file RealtimeEffectManager.h.
References RealtimeEffectManager::Get(), mSuspended, mwProject, and RealtimeEffectManager::Process().
|
private |
Definition at line 293 of file RealtimeEffectManager.h.
Referenced by ProcessingScope().
|
private |
Definition at line 295 of file RealtimeEffectManager.h.
Referenced by Process(), ProcessingScope(), and ~ProcessingScope().
|
private |
Definition at line 294 of file RealtimeEffectManager.h.
Referenced by Process(), ProcessingScope(), and ~ProcessingScope().