2 Oct
2009
2 Oct
'09
5:53 a.m.
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@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.)
HTH Clemens