add initial support for vari-fill

Multimedia / Ardour - Paul Davis [linuxaudiosystems.com] - 29 June 2015 13:18 UTC

When refilling playback buffer, try to fill it completely, or at least using the next-lowest power-of-2 as the amount to read. When locating, where we use do_refill_with_alloc(), only partially fill the buffer.

Work not yet finished, but possibly promising.

1caf54e add initial support for vari-fill
libs/ardour/ardour/audio_diskstream.h | 8 ++--
libs/ardour/ardour/diskstream.h | 16 ++++++-
libs/ardour/ardour/midi_diskstream.h | 6 +--
libs/ardour/audio_diskstream.cc | 84 ++++++++++++++++++++++++---------
libs/ardour/midi_diskstream.cc | 2 +-
libs/ardour/session_transport.cc | 4 +-
6 files changed, 85 insertions(+), 35 deletions(-)

  • Share