|
Description |
On initialization, alsa probes the soundcard for usable formats. These modes are put in a list which is used when xmms2d wants to play something so that it knows if the media needs to be converted before being fed to the soundcard. Normally this should work well, however it seems as it's fairly common that the ALSA drivers lie about what format they support during the probe. When we later on try to set the given format and this fails, we print the sligtly non-descriptive error message left since version 3a060c672e6db550dcccfce21c6e9c6139634202 of alsa.c:
"Could not set hwparams, consult your local guru for meditation courses"
...which hints to a childhood friend.
Maybe, just maybe, it's time to change this to something more apropriate. The error probably happens due to a bug in the ALSA drivers in use, and the user should file a bug against that in their BTS.
This hasn't been changed before due to the uncertainty of the reason to why this error happens. But I'm fairly sure this is the case now after having seen it for a number of users.
NOTE: This shouldn't be patched until we're 100% sure that this is the problem. |