diff options
Diffstat (limited to 'libs/ardour/ardour/audioengine.h')
-rw-r--r-- | libs/ardour/ardour/audioengine.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libs/ardour/ardour/audioengine.h b/libs/ardour/ardour/audioengine.h index 54154141f6..9dec7c8ec3 100644 --- a/libs/ardour/ardour/audioengine.h +++ b/libs/ardour/ardour/audioengine.h @@ -40,9 +40,10 @@ namespace ARDOUR { -class Session; -class Port; class InternalPort; +class MidiPort; +class Port; +class Session; class AudioEngine : public sigc::trackable { @@ -74,6 +75,8 @@ class AudioEngine : public sigc::trackable nframes_t frame_rate(); nframes_t frames_per_cycle(); + size_t raw_buffer_size(DataType t); + int usecs_per_cycle () const { return _usecs_per_cycle; } bool get_sync_offset (nframes_t& offset) const; @@ -213,6 +216,7 @@ class AudioEngine : public sigc::trackable bool _running; bool _has_run; nframes_t _buffer_size; + std::map<DataType,size_t> _raw_buffer_sizes; nframes_t _frame_rate; /// number of frames between each check for changes in monitor input nframes_t monitor_check_interval; |