mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 04:39:33 +01:00
Add API to check if thread-local buffers are available
This commit is contained in:
parent
6e9be294a1
commit
8a238de551
1 changed files with 4 additions and 0 deletions
|
|
@ -42,6 +42,10 @@ public:
|
|||
void get_buffers ();
|
||||
void drop_buffers ();
|
||||
|
||||
static bool have_thread_buffers () {
|
||||
return 0 != _private_thread_buffers.get ();
|
||||
}
|
||||
|
||||
/* these MUST be called by a process thread's thread, nothing else */
|
||||
|
||||
static BufferSet& get_silent_buffers (ChanCount count = ChanCount::ZERO);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue