Added capability to change recorder sample rate.