correct default value for unit and samplerate