On 24-Mar-2003 Takashi Iwai wrote: >> Ok, PAUSE_PUSH-->stop() and TRIGGER_STOP-->stop()-and-reset dma >> pointer. In my case RELEASE and START are the same thing. > > note that resetting the dma pointer wouldn't be necessary in STOP > trigger (although it may be safer), since the dma pointer will be > reprogrammed anyway by the succeeding call or prepare callback from > the ALSA middle layer.
I didn't know that prepare callback had to reset the dma pointer. That could explain why sometimes the sound "jerks" when I change track with xmms and stop/start/prepare are called 2-3 times in a very short time. Bye. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel