Ardour  9.2-79-gba93f2fe52
thread_buffers.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2010-2012 Carl Hetherington <carl@carlh.net>
3  * Copyright (C) 2010-2017 Paul Davis <paul@linuxaudiosystems.com>
4  * Copyright (C) 2013-2017 Robin Gareus <robin@gareus.org>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with this program; if not, write to the Free Software Foundation, Inc.,
18  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19  */
20 
21 #ifndef __libardour_thread_buffers__
22 #define __libardour_thread_buffers__
23 
24 #include "ardour/chan_count.h"
26 #include "ardour/types.h"
27 
28 namespace ARDOUR {
29 
30 class BufferSet;
31 
33 public:
36 
37  void ensure_buffers (ChanCount howmany = ChanCount::ZERO, size_t custom = 0);
38 
49  uint32_t npan_buffers;
50 
51 private:
52  void allocate_pan_automation_buffers (samplecnt_t nframes, uint32_t howmany, bool force);
53 };
54 
55 } // namespace
56 
57 #endif /* __libardour_thread_buffers__ */
static const ChanCount ZERO
Definition: chan_count.h:208
gain_t * scratch_automation_buffer
BufferSet * route_buffers
gain_t * trim_automation_buffer
BufferSet * scratch_buffers
void ensure_buffers(ChanCount howmany=ChanCount::ZERO, size_t custom=0)
gain_t * gain_automation_buffer
gain_t * send_gain_automation_buffer
pan_t ** pan_automation_buffer
void allocate_pan_automation_buffers(samplecnt_t nframes, uint32_t howmany, bool force)
BufferSet * noinplace_buffers
BufferSet * silent_buffers
#define LIBARDOUR_API
Temporal::samplecnt_t samplecnt_t