[alsa-devel] DMA buffer gets played only once

Clemens Ladisch cladisch at fastmail.net
Wed Sep 5 11:04:39 CEST 2007


Markus Franke wrote:
> It seems like that after the 8th period is transferred
> pcm_trigger(TRIGGER_STOP) isn't getting called. 

Indeed.  The stop trigger is called when the entire stream is
to be stopped.

When the start trigger has been called, the hardware (or the driver) is
responsible for playing the ring buffer _repeatedly_.   If the hardware
doesn't do this automatically, the driver has to reprogram it.


HTH
Clemens


More information about the Alsa-devel mailing list