Re: [Alsa-devel] ALSA Memory Allocation Bug

2004-05-13 Thread Takashi Iwai
At Thu, 13 May 2004 20:06:45 +0200, I wrote: > > [1 ] > At Thu, 13 May 2004 10:53:48 -0700, > Loc Ho wrote: > > > > Hi, > > > > Also, after looking at the snd memory allocation routines, the > > unique tag are type, id, and flag. The type is "continous". The id is > > formated by the device ID,

Re: [Alsa-devel] ALSA Memory Allocation Bug

2004-05-13 Thread Takashi Iwai
At Thu, 13 May 2004 10:53:48 -0700, Loc Ho wrote: > > Hi, > > Also, after looking at the snd memory allocation routines, the > unique tag are type, id, and flag. The type is "continous". The id is > formated by the device ID, stream number, and substream number. The > flag is the kernel memory fl

Re: [Alsa-devel] ALSA Memory Allocation Bug

2004-05-13 Thread Takashi Iwai
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

Re: [Alsa-devel] ALSA Memory Allocation Bug

2004-05-13 Thread Takashi Iwai
At Wed, 12 May 2004 18:40:05 -0700, Loc Ho wrote: > > 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 see

[Alsa-devel] ALSA Memory Allocation Bug

2004-05-12 Thread Loc Ho
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