Auto-detect sound card sample rate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
Fix Released
|
Wishlist
|
William Good | ||
1.8 |
Fix Released
|
Wishlist
|
Sean M. Pappalardo |
Bug Description
Most sound cards support both 44100Hz and 48000Hz but some only support one of those, and we've been seeing a number of users seeing the "sound device could not be opened" error due to this problem, and it's not obvious that they should try another sample rate.
I propose, when Mixxx can't open a sound card that's set to 44100 or 48000, to first try the other rate, then if still unsuccessful, give the error dialog. (Don't do this if the prefs are set to 96000 or 32000 or anything else since that means the user set them that way at some point. But this could still show up if they add a new card.) The error dialog should in any case read "Do all of your sound cards support your selected sample rate (<rate>Hz)?"
Changed in mixxx: | |
status: | Fix Committed → Fix Released |
Of course, maybe a better option is to just display to the user WHY a particular device can't be opened, since PortAudio will tell you (in fact we qDebug it already.)