add sampleRate setter/getter helper functions