At Wed, 26 Nov 2003 19:02:48 -0800 (PST),
Eliot Blennerhassett wrote:
>
> At line 200 of aplay.c (1.0.0pre3)
> if ((err = snd_ctl_open(&handle, name, 0)) < 0) {
> error("control open (%i): %s", card, snd_strerror(err));
> continue;
> }
> if this error occurs, 'card' is never updated, the while loop becomes infinite.
> because this bit from the end of the while loop is missed by the continue:
>
> if (snd_card_next(&card) < 0) {
> error("snd_card_next");
> break;
> }
>
> I see this problem because when I load alsa drivers, I don't get the correct
> permissions on files in /dev (I think).
yes, that's a bug. thanks for pointing out.
fixed on cvs now.
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel