Bug 867174 - Part 1: Deliver the correct channel count the to the resampler the first time that we see a buffer; r=padenot
Bug 867174 - Part 2: Protect against invalid sample rates a bit harder; r=padenot