lkml.org 
[lkml]   [2006]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Alsa-devel] OSS driver removal, 2nd round (v2)
On Mon, 10 Jul 2006 22:09:51 -0400
Valdis.Kletnieks@vt.edu 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:atlka@pg.gda.pl ^v^ ^v^ ^v^
Computer Center, Gdańsk University of Technology, Poland
PGP public key: finger atlka@sunrise.pg.gda.pl
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-11 08:17    [W:0.140 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site