fix the screwy sound by requesting the required sample format.
Add more explanations. Thanks again to brianf for the decisive hint.