fix buffersize and sampling rate User interface