From: Pavel Hofman <pavel.hofman@ivitera.com>
To: Clemens Ladisch <clemens@ladisch.de>
Cc: ALSA development <alsa-devel@alsa-project.org>
Subject: Re: Direct use of the DMA buffer?
Date: Mon, 20 Feb 2012 09:38:44 +0100 [thread overview]
Message-ID: <4F420694.6040902@ivitera.com> (raw)
In-Reply-To: <4F420017.70508@ladisch.de>
Dne 20.2.2012 09:11, Clemens Ladisch napsal(a):
> Pavel Hofman wrote:
>> Please excuse my ignorance, but is it possible for an application to
>> directly use/output to the DMA buffer allocated by the kernel in
>> hw_params?
>
> Set one of the SND_PCM_ACCESS_MMAP_* access types and then use
> snd_pcm_mmap_begin/commit.
>
Clemens, thanks a lot for the information. How does it work when the
alsa-lib chain contains plugins, such as plug, rate, etc.? I would
assume the application circumvents these.
Thanks a lot.
Pavel.
next prev parent reply other threads:[~2012-02-20 8:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-19 23:11 Direct use of the DMA buffer? Pavel Hofman
2012-02-20 8:11 ` Clemens Ladisch
2012-02-20 8:38 ` Pavel Hofman [this message]
[not found] ` <4F4210A6.8010902@perex.cz>
2012-02-20 9:22 ` Jaroslav Kysela
2012-02-20 9:25 ` Pavel Hofman
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=4F420694.6040902@ivitera.com \
--to=pavel.hofman@ivitera.com \
--cc=alsa-devel@alsa-project.org \
--cc=clemens@ladisch.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.