get sample rate and get buffer size methods