From: Timur Tabi <timur@freescale.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org, Nobin Mathew <nobin.mathew@gmail.com>
Subject: Re: Trouble understanding ALSA's DMA buffers
Date: Tue, 12 Jun 2007 11:36:33 -0500 [thread overview]
Message-ID: <466ECB91.2030609@freescale.com> (raw)
In-Reply-To: <s5hsl8xv4qz.wl%tiwai@suse.de>
Takashi Iwai wrote:
> Yes. And the "ping-poing" is the case that you have two periods in a
> ring buffer.
Ok, I understand the 'periods' concept now, thanks.
So when/where does ALSA copy data to the DMA buffer? Isn't there supposed to be some kind
of callback where ALSA calls the driver and says, "here's some data, please copy it to
your DMA buffer?"
Or does ALSA do all the copying itself whenever the driver calls snd_pcm_period_elapsed()?
--
Timur Tabi
Linux Kernel Developer @ Freescale
next prev parent reply other threads:[~2007-06-12 16:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-11 19:57 Trouble understanding ALSA's DMA buffers Timur Tabi
2007-06-11 20:29 ` Nobin Mathew
2007-06-12 10:36 ` Takashi Iwai
2007-06-12 15:21 ` Pharaoh .
2007-06-12 15:44 ` Pharaoh .
2007-06-12 16:36 ` Timur Tabi [this message]
2007-06-12 16:45 ` 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=466ECB91.2030609@freescale.com \
--to=timur@freescale.com \
--cc=alsa-devel@alsa-project.org \
--cc=nobin.mathew@gmail.com \
--cc=tiwai@suse.de \
/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.