All of lore.kernel.org
 help / color / mirror / Atom feed
* SNDRV_PCM_INFO_MMAP - what do I need for it?
@ 2008-01-16 15:17 Timur Tabi
  2008-01-16 17:37 ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: Timur Tabi @ 2008-01-16 15:17 UTC (permalink / raw)
  To: alsa-devel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-01-16 19:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-16 15:17 SNDRV_PCM_INFO_MMAP - what do I need for it? Timur Tabi
2008-01-16 17:37 ` Takashi Iwai
2008-01-16 19:06   ` Timur Tabi
2008-01-16 19:40     ` Timur Tabi
2008-01-16 19:45     ` Trent Piepho

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.