use IOBufferDuration instead of preferredBufferDuration to set currentBufferDuration
Merge pull request #104 from bryansum/master

Use IOBufferDuration instead of preferredBufferDuration to set currentBufferDuration