make sample_rate optional
Merge pull request #4 from AppPress/master

Makes sample rate optional