Edit: Running xmms under strace(1) produces really wobbly output; presumably by slowing it down too much. I hate to think what valgrind(1) will do.... And I am, it appears, going to have to move to valgrind(1). Fun...
Edit #2: No, if(!fmt_strncasecmp(strrchr(fname, '.') + 1, "cda", 3)) isn't a reasonable bit of code when you haven't even checked to see if there is a . in the filename! (FPAV)