Re: [Alsa-devel] OSS driver removal, 2nd round (v2)

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

 



On Mon, 10 Jul 2006 22:09:51 -0400
[email protected] wrote:

> On Tue, 11 Jul 2006 01:38:39 +0200, =?ISO-8859-2?Q?Adam_Tla=B3ka?= said:
> > Użytkownik Lee Revell napisał:
> >
> > > esd and artsd are no longer needed since ALSA began to enable software
> > > mixing by default in release 1.0.9.
> >  >
> > 
> > So why they are still exist in so many Linux distributions?
> 
> As soon as somebody writes a patch to make the e16 window manager talk ALSA
> rather than use esd, I'm heaving esd over the side.

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.
Generally it is a big mess in may distros where desktop apps depends on sound.
Yes, it is nice to have sound but it is not absolutly needed to use an editor for example. 

> Of course, I've been saying that since ALSA 1.0.9 came out.  (And don't
> suggest I write it myself - I could if I was motivated enough, but I'm not
> motivated at the current time. :)
> 

If you are the author then I just suggest to use exec(3) call, for example:

if (!fork()){
	execvp("aplay","beep.wav");
	exit(0);
}

Simple, and you don't need to know anything about sound programming ;-).

Regards
-- 
Adam Tlałka       mailto:[email protected]    ^v^ ^v^ ^v^
Computer Center,  Gdańsk University of Technology, Poland
PGP public key:   finger [email protected]
-
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]
  Powered by Linux