Linux Debian support - Got Sound!!!!!!!!!!!!!!!!!!!!!!!!!

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > May 2007 > Got Sound!!!!!!!!!!!!!!!!!!!!!!!!!





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Got Sound!!!!!!!!!!!!!!!!!!!!!!!!!
Pete

2007-05-19, 7:13 pm

On Fri, 18 May 2007 21:37:23 -0600, sk8-365 wrote:

> Pete said:
>
> Have you turned off ESD in the Gnome Sound Events? I mentioned it
> but you never replied - or I didn't see it. Kill ESD sound events and
> re-log in. From there goof with the problem : ESD and ALSA are
> conflicting by nature. I turned off ESD Sound Events and ALL my
> sound needs are good to go: CD, DVD, MP3, WAV, web crap, /dev/dsp
> gaming, etc.


OK, I turned off the ESD for sound events, and bingo!!! I can now hear my
movies, and speech on web video clips. Thanks! Wow. So easy.
-Pete
sk8-365

2007-05-19, 7:13 pm

Pete said:
>
> OK, I turned off the ESD for sound events, and bingo!!! I can now hear my
> movies, and speech on web video clips. Thanks! Wow. So easy.


Cool! Glad things are good again. I dunno why Gnome insists on using
ESD and the remainder of the system employs ALSA. I have a couple a
events wherein sounds transpire: mail notification applet and in
icedove when the mail is actually downloaded. I use a sox for those
events - another user of /dev/dsp and NOT ESD.


--
sk8-365
Keith Blow

2007-05-22, 7:13 am

sk8-365 wrote:
> Pete said:
>
> Cool! Glad things are good again. I dunno why Gnome insists on using
> ESD and the remainder of the system employs ALSA. I have a couple a
> events wherein sounds transpire: mail notification applet and in
> icedove when the mail is actually downloaded. I use a sox for those
> events - another user of /dev/dsp and NOT ESD.
>
>

I think there is another way of having gnome sound and non-esd apps but
it is not automatic. You have to switch from esd to non esd and back
again manually. I use the following:
#!/bin/sh
#
# disable esd

esdctl off
esdctl unlock

exit 0

in a script to disable esd. Applications like realplayer that access
/dev/dsp directly can then work.

Change off->on and lock->unlock to enable the esd server again.
Keith
Pete

2007-05-23, 1:14 am

On Tue, 22 May 2007 08:50:43 +0100, Keith Blow wrote:

> sk8-365 wrote:
> I think there is another way of having gnome sound and non-esd apps but
> it is not automatic. You have to switch from esd to non esd and back
> again manually. I use the following:
> #!/bin/sh
> #
> # disable esd
>
> esdctl off
> esdctl unlock
>
> exit 0
>
> in a script to disable esd. Applications like realplayer that access
> /dev/dsp directly can then work.
>
> Change off->on and lock->unlock to enable the esd server again.
> Keith


In any case, this is a design or bug fault in Debian.
-Pete
sk8-365

2007-05-23, 1:14 am

Pete said:
> In any case, this is a design or bug fault in Debian.


Rather, it's a Gnome thing. And KDE uses arts. Wish both would go
to ALSA and end this annoyance.

--
sk8-365
Linonut

2007-05-23, 7:14 pm

After takin' a swig o' grog, sk8-365 belched out this bit o' wisdom:

> Pete said:
>
> Rather, it's a Gnome thing. And KDE uses arts. Wish both would go
> to ALSA and end this annoyance.


Or at least provide an ALSA plugin to fake out the esd and arts interfaces.

--
So, Bill, what do you think of the execution of Microsoft's Vista team?
Sounds like a good idea to me, Steve.
AJackson

2007-05-23, 7:14 pm

On May 23, 3:25 am, Pete <P...@nospam.com> wrote:
> On Tue, 22 May 2007 08:50:43 +0100, Keith Blow wrote:
>
>
>
>
>
>
>
> In any case, this is a design or bug fault in Debian.
> -Pete


No, it's not a fault, it's so by design long before Linux ALSA and OSS
sound system. Sound is much more complicated than you think. So you
NEED esd in some cases (like using OSS or OSS support in ALSA).

The problem is that from beginning (OSS and other computer systems)
only one application at a time could access sound device. To get more
than one application to generate sound at same time, you needed a
software mixer, that is esd(Enlightment and Gnome) or arts(KDE).
Those are software mixers that mixs sounds sent to them and plays
them.

Whith ALSA there is possible to do that mixing in hardware OR software
by ALSA. But ALSA also have support for OSS (simulating in ALSA), and
on that device only one application at a time can access sound device
(as it should!).
My guess it that when you used OSS, it locked ALSA to multiplex
sounds.

libesd-alsa0 package us ALSA instead of OSS (that libesd uses). When
you install libesd-alsa0, it replaces libesd.

aoss application sudgested here is a wrapper that converts OSS to ALSA
for the application that is started by aoss. Usefull for legacy
applications that still uses OSS and not ALSA (or jack, which is a
real time audio mixer to do prof. sound mixing and stuff better than
Apple or MS Windows, but not for plain CD playing or gameing).

In short: Use ALSA and not any OSS sound device drivers (and if you
not makeing your own demo CD:s, stay away from jack :-)). Yes, and
read the stuff on ALSA web site. And always RTFM (Read The Fine
Manual) and package documentations in /usr/share/doc/<package name>/

Michael C.

2007-05-28, 1:13 am

On Tue, 22 May 2007 08:50:43 +0100,
Keith Blow <keith@backblow-loft.demon.co.uk> wrote:
> sk8-365 wrote:
> I think there is another way of having gnome sound and non-esd apps but
> it is not automatic. You have to switch from esd to non esd and back
> again manually. I use the following:
> #!/bin/sh
> #
> # disable esd
>
> esdctl off
> esdctl unlock
>
> exit 0
>
> in a script to disable esd. Applications like realplayer that access
> /dev/dsp directly can then work.
>
> Change off->on and lock->unlock to enable the esd server again.
> Keith


I don't know if it helps the original poster, but it helped me with
launching clanbomber from enlightenment.

Thanks,

Michael C.
--
mjchappell@verizon.net http://mcsuper5.freeshell.org/

Action may not always bring happiness; but there is no happiness
without action. -- Benjamin Disraeli
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com