From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: ALSA Memory Allocation Bug Date: Thu, 13 May 2004 19:54:11 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Loc Ho Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Thu, 13 May 2004 10:45:20 -0700, Loc Ho wrote: > > Hi, > > Are you saying that the third parameter for the function > snd_pcm_new, int device, should be the value of the "chip" (driver > context pointer) pointer. no. as written in my last mail, both dev and id fields of struct snd_dma_device are used as the "tag" of a buffer. since dev is a struct device pointer and is usually unique between card instances, they don't conflict even if id field is identical. 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