diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2015-01-16 17:14:06 -0600 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2015-01-16 17:15:26 -0600 |
commit | 05a612b5632f1c98e0a151c42e1c9316edc615b2 (patch) | |
tree | 9c4c2da1e6d47be7b43af016beb904417a85895c /libs/ardour/ardour/audio_backend.h | |
parent | 9b3f3a9fea462f34268a2b395064cc220212fd9c (diff) |
ASIO devices have a preferred buffersize.
pass this value up so it can be used by the engine dialog.
if for some reason the engine dialog still doesn't have a buffersize selected, print an error and try 512 instead of crashing.
Diffstat (limited to 'libs/ardour/ardour/audio_backend.h')
-rw-r--r-- | libs/ardour/ardour/audio_backend.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/audio_backend.h b/libs/ardour/ardour/audio_backend.h index ed29bd3c28..8070a1c3aa 100644 --- a/libs/ardour/ardour/audio_backend.h +++ b/libs/ardour/ardour/audio_backend.h @@ -186,7 +186,7 @@ class LIBARDOUR_API AudioBackend : public PortEngine { * if there is any chance that a buffer size of 1024 is not in the list * returned by available_buffer_sizes() */ - virtual uint32_t default_buffer_size () const { + virtual uint32_t default_buffer_size (const std::string& device) const { return 1024; } |