Change audiostream rate to int, add ratecontrol and update channels