Updated dynamic rate control.
The control was moved from the audiobuffer.cpp file,
and into the audio.cpp file.