added default sample rate
restore the default setup after leaving direct access