Fixed sampling rate sharing issue. Needs to be completely completely fixed though.