At Wed, 7 Feb 2007 09:31:50 +0100, Micha Nelissen wrote: > > 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. OK then you'd need dma_mmap_coherent() for mmapping the data. > 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. Could you elaborate? It sounds like a coincidence to me... Takashi ------------------------------------------------------------------------- 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