[Alsaplayer-devel]input plugin wants to know how busy output is

Greg Lee greg@ling.lll.hawaii.edu
Mon, 08 Apr 2002 07:38:44 -1000 (HST)


Hi,

I'm adapting Toivonen's TiMidity as an input plugin.  I'm not
happy with the number of dropouts I'm getting.  If I knew how
many samples the output driver had queued up, I could do better,
by cutting notes and so forth when the situation starts looking
grim.  The alsa driver and OSS will both return this information.
In working on output drivers, please keep in mind the possibility
of getting some status info back to input plugins.

Greg Lee <greg@ling.lll.hawaii.edu>