From: Timur Tabi <timur@freescale.com>
To: alsa-devel@alsa-project.org
Subject: SNDRV_PCM_INFO_MMAP - what do I need for it?
Date: Wed, 16 Jan 2008 09:17:57 -0600 [thread overview]
Message-ID: <478E2025.8010509@freescale.com> (raw)
My 8610 ASoC driver has this:
static const struct snd_pcm_hardware fsl_dma_hardware = {
.info = SNDRV_PCM_INFO_INTERLEAVED,
This means that MMAP is not enabled.
I understand what MMAP is, but not from an ALSA driver perspective. If I change
the above line to this:
.info = SNDRV_PCM_INFO_INTERLEAVED | SNDRV_PCM_INFO_MMAP |
SNDRV_PCM_INFO_MMAP_VALID,
what does ALSA do differently? Do I need to define any new functions? From an
application perspective, what is different?
Also, does DMIX need MMAP support?
--
Timur Tabi
Linux kernel developer at Freescale
next reply other threads:[~2008-01-16 15:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-16 15:17 Timur Tabi [this message]
2008-01-16 17:37 ` SNDRV_PCM_INFO_MMAP - what do I need for it? Takashi Iwai
2008-01-16 19:06 ` Timur Tabi
2008-01-16 19:40 ` Timur Tabi
2008-01-16 19:45 ` Trent Piepho
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=478E2025.8010509@freescale.com \
--to=timur@freescale.com \
--cc=alsa-devel@alsa-project.org \
/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.