On Tue, 2006-07-11 at 10:30 -0400, [email protected] wrote:
> On Tue, 11 Jul 2006 08:15:28 +0200, Adam =?ISO-8859-2?B?VGxhs2th?= said:
> > Sorry to say but it is just not that way. Window manager is for managing windows
> > and it shouldn't depend on any audio system. It should use an external app using exec call
> > to play sounds (aplay, sox, wavplay etc.) configured by some config option.
>
> So what you're saying is that something like 'esd' *is* needed. (It's
> certainly silly to keep doing fork/exec for every little sound sample when
> you can just leave the app running and hand it requests...)
That approach also won't be reliable as it ignores the realtime
constraint that is inherent in audio playback. It will probably work on
a fast/lightly loaded machine but will glitch out under load.
It's how GDM plays startup/shutdown sounds and it sucks - on shutdown
the sound is choppy. You either need a dedicated daemon running
SCHED_FIFO or an RT thread for reliable audio playback.
Lee
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]