1 #ifndef __libardour_buffer_manager__
2 #define __libardour_buffer_manager__
6 #include "pbd/ringbufferNPT.h"
8 #include "ardour/chan_count.h"
17 static void init (uint32_t);
19 static ThreadBuffers* get_thread_buffers ();
20 static void put_thread_buffers (ThreadBuffers*);
22 static void ensure_buffers (ChanCount howmany = ChanCount::ZERO);
25 typedef RingBufferNPT<ThreadBuffers*> ThreadBufferFIFO;
26 static ThreadBufferFIFO* thread_buffers;
31 #endif /* __libardour_buffer_manager__ */