1 #ifndef __libardour_process_thread__
2 #define __libardour_process_thread__
4 #include <glibmm/thread.h>
6 #include "ardour/chan_count.h"
7 #include "ardour/types.h"
25 /* these MUST be called by a process thread's thread, nothing else
28 static BufferSet& get_silent_buffers (ChanCount count = ChanCount::ZERO);
29 static BufferSet& get_scratch_buffers (ChanCount count = ChanCount::ZERO);
30 static BufferSet& get_mix_buffers (ChanCount count = ChanCount::ZERO);
31 static gain_t* gain_automation_buffer ();
32 static pan_t** pan_automation_buffer ();
35 void session_going_away ();
38 static Glib::Private<ThreadBuffers>* _private_thread_buffers;
43 #endif /* __libardour_process_thread__ */