Engine: Handle more segment sizes, and adjust if it changes.
authorGabriel M. Beddingfield <gabriel@teuton.org>
Wed, 15 Jun 2011 05:45:43 +0000 (00:45 -0500)
committerGabriel M. Beddingfield <gabriel@teuton.org>
Wed, 15 Jun 2011 05:45:43 +0000 (00:45 -0500)
commit458c1b42788033f11816443db975dd2435f84465
treea246bd68f353a5321acf8850d27213eac7909584
parent72abd7a233c4846e2206cceb49cddcdad2a545c6
Engine: Handle more segment sizes, and adjust if it changes.

If the segment size was large (e.g. 4096) then playing would stall.
In addition, large segment sizes were not being handled at all because
of fixed buffer sizes.  This improves some of that.

However, it appears that the first segment or so of input audio is
being truncated.  This is very apparent for the 4096 size
segment... but not so much when <= 512.
src/AudioSystem.hpp
src/Engine.cpp
src/Engine.hpp
src/JackAudioSystem.cpp
src/JackAudioSystem.hpp
src/RubberBandServer.cpp
src/RubberBandServer.hpp