All of lore.kernel.org
 help / color / mirror / Atom feed
[parent not found: <D22B281CC561444AA27F7F6C6C9E3E6102F548@mtvs4.pcllc.net>]
* ALSA Memory Allocation Bug
@ 2004-05-13  1:40 Loc Ho
  2004-05-13  9:24 ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: Loc Ho @ 2004-05-13  1:40 UTC (permalink / raw)
  To: alsa-devel

Hi,

I developed an custom USB Audio driver. In addition, I am also using the provided USB Audio driver for commercial USB Audio devices. After some testing with the custom USB Audio driver and the provided USB Audio driver, there seem to be a problem with the ALSA memory allocation routine. In file pcm_memory.c function setup_pcm_id, the id is generated using the pcm device ID, stream ID, and substream number. This only guarantee that the memory tag ID is unique for one card. If I have multiple cards, they will not be unique. Am I correct?

Thanks,
Loc


-------------------------------------------------------
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%62&alloc_ida84&op=click

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-05-13 18:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <D22B281CC561444AA27F7F6C6C9E3E6102F549@mtvs4.pcllc.net>
2004-05-13 18:06 ` ALSA Memory Allocation Bug Takashi Iwai
2004-05-13 18:18   ` Takashi Iwai
     [not found] <D22B281CC561444AA27F7F6C6C9E3E6102F548@mtvs4.pcllc.net>
2004-05-13 17:54 ` Takashi Iwai
2004-05-13  1:40 Loc Ho
2004-05-13  9:24 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.