All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Loc Ho <loc@pacificconsultants.com>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: ALSA Memory Allocation Bug
Date: Thu, 13 May 2004 19:54:11 +0200	[thread overview]
Message-ID: <s5hbrksnrgc.wl@alsa2.suse.de> (raw)
In-Reply-To: <D22B281CC561444AA27F7F6C6C9E3E6102F548@mtvs4.pcllc.net>

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

       reply	other threads:[~2004-05-13 17:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <D22B281CC561444AA27F7F6C6C9E3E6102F548@mtvs4.pcllc.net>
2004-05-13 17:54 ` Takashi Iwai [this message]
     [not found] <D22B281CC561444AA27F7F6C6C9E3E6102F549@mtvs4.pcllc.net>
2004-05-13 18:06 ` ALSA Memory Allocation Bug Takashi Iwai
2004-05-13 18:18   ` Takashi Iwai
2004-05-13  1:40 Loc Ho
2004-05-13  9:24 ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hbrksnrgc.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=loc@pacificconsultants.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.