add a minimum buffer duration to the sample app