basic handling of corner-case where input and output devices are of different samplerate