Takashi Iwai wrote: > The purpose of prepare callback is to make the PCM stream ready to > start. (The trigger callbacks are supposed to be just triggering, not > preparing the stream.) > Usually, once after the PCM is triggered, the registers are no > longer as same as the beginning. If you want to stop and restart the > stream, you'll very likely to reset the registers again. That's why > prepare is called again. (Or, your driver is always go-or-die? :) I thought you meant that the .prepare() function can be called multiple times *in a row*, like .hw_params() is. But I guess that's not what you meant. -- Timur Tabi Linux Kernel Developer @ Freescale _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel