On 4/10/07, Ciaccia <ciacciax@xxxxxxxxx> wrote: > Hi Lee, > Your guess is correct. The buffers are allocated in > the trigger callback, I attached the module source to > the my email but it got lost...?!? > > Sorry for that, maybe this time it's better: > http://www.pecore.ch/test/ep93xx-i2s.c.txt OK so allocate them in the prepare callback instead, problem solved. See "Writing an ALSA driver" doc for details. BTW why does your driver do all that sample format conversion, rather than just exposing the HW supported format and letting alsa-lib do the conversion for you? Lee _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel