From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Burton Samograd Newsgroups: gmane.emacs.devel Subject: Re: play-sound-file & esd Date: Fri, 19 May 2006 21:17:11 -0600 Message-ID: <87ac9ds7uw.fsf@gmail.com> References: <44572E8B.6060102@swipnet.se> <44585258.7040506@swipnet.se> <445EF2F9.5060209@swipnet.se> <87r732wzz6.fsf@robotron.kosmorama> <44618798.3030901@swipnet.se> <4461E7DC.8070007@swipnet.se> <44697D66.5060300@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1148095071 10622 80.91.229.2 (20 May 2006 03:17:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 20 May 2006 03:17:51 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 20 05:17:50 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FhHyO-0007Hm-4a for ged-emacs-devel@m.gmane.org; Sat, 20 May 2006 05:17:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FhHyN-0002mt-Ig for ged-emacs-devel@m.gmane.org; Fri, 19 May 2006 23:17:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FhHyC-0002lJ-6Q for emacs-devel@gnu.org; Fri, 19 May 2006 23:17:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FhHyA-0002hg-Dx for emacs-devel@gnu.org; Fri, 19 May 2006 23:17:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FhHyA-0002ha-7x for emacs-devel@gnu.org; Fri, 19 May 2006 23:17:34 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FhI1c-0002HX-3l for emacs-devel@gnu.org; Fri, 19 May 2006 23:21:08 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FhHy3-0007F8-Tf for emacs-devel@gnu.org; Sat, 20 May 2006 05:17:27 +0200 Original-Received: from 216-197-224-224.regn.hsdb.sasknet.sk.ca ([216.197.224.224]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 May 2006 05:17:27 +0200 Original-Received: from kruhft by 216-197-224-224.regn.hsdb.sasknet.sk.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 May 2006 05:17:27 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 21 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 216-197-224-224.regn.hsdb.sasknet.sk.ca User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:xj4Ilgoj2ol7rhoh0aUAreXt9wA= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:54846 Archived-At: joakim@verona.se writes: > Jan Djärv 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