add samplerate config

you can use "samplerate=500K" for 500KHz and so on