Subject: Re: [linux-audio-dev] Watchdogs?
From: John Lazzaro (lazzaro_AT_CS.Berkeley.EDU)
Date: Tue Mar 19 2002 - 21:33:49 EET
> So, what do we do? Watchdog? In hardware or software?
Sfront uses two software timers: one to catch infinite loops, and
a second to monitor the MIDI In buffer during overruns -- sfront
only senses the /dev/midi input at k-cycle boundaries, and so an
audio buffer overrun might have the secondary effect of overfilling
the MIDI In buffer the device driver keeps (depends on the size of
buffer chosen by the driver). We added this because some users were
driving sfront via a sequencers attached via the MIDI In jack, and
pushing through dense sequences that drove MIDI at the line rate ...
--jl
This archive was generated by hypermail 2b28 : Tue Mar 19 2002 - 21:22:04 EET