[alsa-devel] Application supporting forward/rewind APIs

Raymond Yau superquad.vortex2 at gmail.com
Fri Oct 2 05:53:22 CEST 2009

Do you mean that the application can use snd_pcm_rewind() to rewind the
application pointer to hardware pointer and rewrite the next sample ( behind
the hardware pointer ) for usb audio driver ? ( real time mixing like
pulseaudio )

2009/9/29 Clemens Ladisch <clemens at ladisch.de>

> Anuj Aggarwal wrote:
> > I found the solution, one can use mplayer to test forward/rewind
> > feature of ALSA library.
> mplayer disables ALSA's underrun detection and uses snd_pcm_forward() to
> recover from an underrun, if it happens.
> (To force an underrun, press Ctrl+S (then Ctrl+Q) to prevent mplayer
> from updating its status line.)
> Clemens

More information about the Alsa-devel mailing list