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

Re: having esd release sound device in gnome...



On Tue, Feb 07, 2006 at 02:36:19PM +0100, Giacomo Mulas wrote:
> 	Hello, I have a stupid problem which has probably been solved
> already. I use the gnome desktop, with sound support. This means that esd is
> started automatically at session startup. However, I also want to use some
> programs (e.g. festival, skype, realplayer etc.) which are unable to use esd
> for sound support but instead insist on directly using the sound device
> directly (e.g. /dev/sound/dsp). They obviously fail if I try to use them
> when the automatically started esd is running, since the sound device is
> allocated by it. However, it IS possible to have the esd daemon release the
> device after a few seconds it has been unused (i.e. with the "-as 2" esd
> command line option). So, currently, after logging in with gnome I kill esd
> and manually restart it with the "-as 2" option, and everything works fine. 
> The question: is it possible to tell the gnome session startup script that
> it should use some user-defined options when starting esd? Second question:

Hi,

Take a look at the /etc/esound/esd.conf. You can put the '-as 2' to the
spawn_options. Also take a look at the
/usr/share/doc/esound-common/TIPS for other tips.

> Please, CC: replies to me, I am not subscribed to this list
> 
> Thanks in advance,
> Giacomo Mulas
> _________________________________________________________________
> 
> Giacomo Mulas <gmulas@ca.astro.it>
> _________________________________________________________________
> 
> OSSERVATORIO ASTRONOMICO DI CAGLIARI
> Str. 54, Loc. Poggio dei Pini * 09012 Capoterra (CA)
> 
> Tel. (OAC): +39 070 71180 248     Fax : +39 070 71180 222
> Tel. (UNICA): +39 070 675 4916
> _________________________________________________________________
> 
> "When the storms are raging around you, stay right where you are"
>                          (Freddy Mercury)
> _________________________________________________________________
> 
> -- 
> Il messaggio e' stato analizzato alla ricerca di virus o
> contenuti pericolosi da MailScanner, ed e'
> risultato non infetto.

HTH,
Simo
-- 
:r ~/.signature

Attachment: signature.asc
Description: Digital signature


Reply to: