Re: [OT] ALSA userspace API complexity

Hannu Savolainen
2006-01-10T13:50:15Z

On Tue, 10 Jan 2006, Jaroslav Kysela wrote:

> On Fri, 6 Jan 2006, Hannu Savolainen wrote:
>
> > The fact is that there is nothing the audio subsystem can do to recover
> > the situation. For this very simple reason the OSS API lacks everything
> > that would be necessary to cope with this kind of problems.
>
> Applications should be notified that something is broken. If you have
> a professional environment, you really need to know, if the output
> survived all scheduling peaks and the audio data are delivered from/to
> I/O in time.
This is exactly how OSS API works. The application can check if there were
any errors so far. It can do it after finishing the playback or whenever
it likes. It can then show a dialog box saying that playback/recording
was not 100% error free. Alternatively it can show error counters on the
status line. Or most applications just don't care.

Best regards,

Hannu
-----
Hannu Savolainen (hannu@opensound.com)
http://www.opensound.com (Open Sound System (OSS))
http://www.compusonic.fi (Finnish OSS pages)
OH2GLH QTH: Karkkila, Finland LOC: KP20CM