Takashi Iwai wrote: >> Has anyone seen this behaviour before, and how to fix it ? Or, any >> hints how to reproduce the alsa mmap behaviour in a smaller software >> stack ? > > Which architecture is it? It might be a memory coherency problem. > Does the normal snd_pcm_writei() work as expected? The CPU architecture is armeb. I have more information now. The problem disappears if I do the endian swap in the kernel driver. That means that I specify SNDDRV_PCM_FMTBIT_S16_BE | SNDDRV_PCM_FMTBIT_S16_LE, instead of only SNDDRV_PCM_FMTBIT_S16_BE, and I decide using the runtime->format whether to swap or not. Hope this helps, Micha ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel