tta: error out if samplerate is zero.