emacs-devel
[Top][All Lists]
Advanced

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

Re: play-sound-file & esd


From: Burton Samograd
Subject: Re: play-sound-file & esd
Date: Fri, 19 May 2006 21:17:11 -0600
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

address@hidden writes:

> Jan Djärv <address@hidden> writes:
> Maybe a solution would be to make it possible to configure an external
> player command, when the internal method is not suficient?

I just wrote some code for my jabber client to play sounds
asynchronously using an external player app so that I could get event
sounds without having my system hang to wait for playback.  I looked
at the sound.c code and was trying to figure a quick way for
non-blocking playback, but didn't have the time and hacked a elisp
version using call-process-shell-command.

I can post the code if anyone is interested, but right now it's
specific to my demands of playing a different sound on each event; I
was planning on ripping it out and sending it to .sources so this
could give me the kick to get it done.

-- 
burton samograd                                 kruhft .at. gmail
kruhft.blogspot.com     www.myspace.com/kruhft  metashell.blogspot.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]