From: Takashi Iwai <tiwai@suse.de>
To: Giuliano Pochini <pochini@shiny.it>
Cc: alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Re: How to debug ?
Date: Wed, 02 Apr 2003 12:40:18 +0200 [thread overview]
Message-ID: <s5hk7edrxm5.wl@alsa2.suse.de> (raw)
In-Reply-To: <XFMail.20030402123318.pochini@shiny.it>
At Wed, 02 Apr 2003 12:33:18 +0200 (CEST),
Giuliano Pochini wrote:
>
>
> On 02-Apr-2003 Takashi Iwai wrote:
> >> I don't set .copy callback and ->dma_area should be 0 because the card
> >> uses a sg-list. #:(
> >
> > no, dma_area should not be zero. you shouldn't change the value, if
> > you use snd_pcm_lib_malloc_pages(). in the case of sg-buffer,
> > dma_area will hold the virtual mapped address, too.
>
> I write in the runtime struct only the private area and hw pointers.
sorry, which fields do you mean exactly?
runtime->private_data and runtime->hw ?
then they are ok, of course.
anyway, runtime->dma_area and runtime->dma_bytes MUST be filled
manually IFF you don't use snd_pcm_lib_malloc_pages().
(dma_area won't be needed if the mmap is not supported and copy
callback is defined, though.)
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
next prev parent reply other threads:[~2003-04-02 10:40 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-02 0:17 How to debug ? Giuliano Pochini
2003-04-02 10:03 ` Takashi Iwai
2003-04-02 10:33 ` Giuliano Pochini
2003-04-02 10:40 ` Takashi Iwai [this message]
2003-04-02 10:55 ` Giuliano Pochini
2003-04-02 15:04 ` Takashi Iwai
2003-04-02 15:18 ` Giuliano Pochini
2003-04-02 16:05 ` Takashi Iwai
2003-04-03 15:14 ` Giuliano Pochini
-- strict thread matches above, loose matches on Subject: below --
2012-01-27 22:51 How to debug? Jalil Karimov <jukarimov@gmail.com>
2012-01-27 19:05 ` Mulyadi Santosa
2012-01-28 1:06 ` Jalil Karimov <jukarimov@gmail.com>
2012-01-28 4:39 ` Mulyadi Santosa
2012-01-30 18:41 ` Littlefield, Tyler
2007-01-30 21:51 Ronny Standtke
2007-02-02 18:14 ` Takashi Iwai
2007-02-02 20:44 ` Ronny Standtke
2007-02-05 15:43 ` Takashi Iwai
2007-02-06 22:14 ` Ronny Standtke
2003-04-01 22:48 How to debug ? Giuliano Pochini
1999-08-23 13:33 how to debug? Wang Yong
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=s5hk7edrxm5.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=pochini@shiny.it \
/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.