support sample rate(unfinished)