[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Keep non-gnome2.6 package out of the discussion please



Sven Luther <sven.luther@wanadoo.fr> writes:

> On Mon, May 24, 2004 at 01:34:43PM +0200, Dagfinn Ilmari Mannsåker wrote:
>> Consider a user running KDE but who for some reason likes GStreamer
>> for his multimedia needs. Should he be prevented from choosing Arts
>> as the default audio sink just because the admin hasn't thought of
>> the possibility of running GNOME apps in KDE?
>
> Well, if arts is running, the user (or admin) sure cannot chose to use
> esd or oss/alsa directly, well at least not on my hardware, it would
> result in the app silently waiting forever.

Exactly, the user _needs_ to be able to override the global default
setting in cases like this.

The number of available playback channels depends on the hardware. My
laptop has two, other soundcards may have more. ALSA can provide virtual
channels via software mixing too, see
<http://alsa-project.org/alsa-doc/doc-php/asoundrc.php3#softmix>.

Blocking on a busy sound device is a bug in most cases. The program
should open the device with O_NDELAY or O_NONBLOCK and handle EBUSY
appropriately (wait/retry, error out, warn or ignore silently, depending
on the importance of sound playback for the overall functionality of the
program).

-- 
ilmari



Reply to: