SNDRV_PCM_INFO_MMAP - what do I need for it?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux