1 #ifndef __libardour_process_thread__
2 #define __libardour_process_thread__
4 #include <glibmm/threads.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 gain_t* send_gain_automation_buffer ();
33 static pan_t** pan_automation_buffer ();
36 void session_going_away ();
39 static Glib::Threads::Private<ThreadBuffers> _private_thread_buffers;
44 #endif /* __libardour_process_thread__ */