At Thu, 13 May 2004 13:43:28 -0700, Loc Ho wrote: > > Hi, > > Your fix of the ALSA memory allocation problem is incorrect. This > only fixes the problem with the commerical USB Audio driver. It does > not fix for all drivers. The proper fix is to replace the function > setup_pcm_id with this one (note the added "card->number << 24"):
maybe you've already received my last fix - a similar patch was already on cvs. it was intentional not to have card number in the id. it was basically designed for the card instances with the unique device pointers, so that the buffer can be reallocated even if the card number is changed. the card number is needed only when dev is NULL (ISA) or not unique (CONTINUOUS). Takashi ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel