From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: Re: play-sound-file & esd Date: Wed, 10 May 2006 09:43:40 -0400 Organization: disorganization Message-ID: 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> Reply-To: sds@podval.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1147268685 4649 80.91.229.2 (10 May 2006 13:44:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 May 2006 13:44:45 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 10 15:44:44 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 1Fdoz9-0001Hq-8v for ged-emacs-devel@m.gmane.org; Wed, 10 May 2006 15:44:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fdoz8-00062L-Rg for ged-emacs-devel@m.gmane.org; Wed, 10 May 2006 09:44:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fdoyx-00062G-Kn for emacs-devel@gnu.org; Wed, 10 May 2006 09:44:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fdoyw-000624-5a for emacs-devel@gnu.org; Wed, 10 May 2006 09:44:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fdoyw-000621-0N for emacs-devel@gnu.org; Wed, 10 May 2006 09:44:02 -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 1Fdp0D-0003GU-VO for emacs-devel@gnu.org; Wed, 10 May 2006 09:45:22 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Fdoyo-0001Eh-Kh for emacs-devel@gnu.org; Wed, 10 May 2006 15:43:54 +0200 Original-Received: from 209.213.205.130 ([209.213.205.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 May 2006 15:43:54 +0200 Original-Received: from sds by 209.213.205.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 May 2006 15:43:54 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-To: emacs-devel@gnu.org Original-Lines: 73 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 209.213.205.130 Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:Z0Zye2bPwmFoBH4IxRz94++n/B8= 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:54189 Archived-At: > * Jan Djärv [2006-05-10 15:17:16 +0200]: > > Sam Steingold skrev: > >>> % cat /proc/asound/version >>> >>> If you don't have that file you are not using ALSA. >> >> $ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version >> 1.0.11rc2 (Wed Jan 04 08:57:20 2006 UTC). >> > > Hmm, maybe your card isn't supported well by ALSA. What dou you have for > % cat /proc/asound/oss/sndstat $ cat /proc/asound/oss/sndstat Sound Driver:3.8.1a-980706 (ALSA v1.0.11rc2 emulation code) Kernel: Linux quant8 2.6.16-1.2096_FC5 #1 Wed Apr 19 05:15:21 EDT 2006 i686 Config options: 0 Installed drivers: Type 10: ALSA emulation Card config: Intel 82801DB-ICH4 with AD1981B at 0xfeb00400, irq 18 Audio devices: 0: Intel 82801DB-ICH4 (DUPLEX) Synth devices: NOT ENABLED IN CONFIG Midi devices: NOT ENABLED IN CONFIG Timers: 31: system timer Mixers: 0: Analog Devices AD1981B > and > % cat /proc/asound/cards $ cat /proc/asound/cards 0 [I82801DBICH4 ]: ICH4 - Intel 82801DB-ICH4 Intel 82801DB-ICH4 with AD1981B at 0xfeb00400, irq 18 let me repeat the problem description: when esd is not running (or when it was started with "-as 2" and has not been used for 2 sec), emacs play-sound-file works fine. when esd is running, esdplay also works fine. but when esd _is_ running, emacs play-sound-file fails with Debugger entered--Lisp error: (error "/dev/dsp: Device or resource busy") play-sound-internal((sound :file "/usr/share/sounds/error.wav")) play-sound((sound :file "/usr/share/sounds/error.wav")) play-sound-file("/usr/share/sounds/error.wav") eval((play-sound-file "/usr/share/sounds/error.wav")) eval-last-sexp-1(nil) eval-last-sexp(nil) call-interactively(eval-last-sexp) -- Sam Steingold (http://www.podval.org/~sds) on Fedora Core release 5 (Bordeaux) http://openvotingconsortium.org http://pmw.org.il http://memri.org http://dhimmi.com http://palestinefacts.org http://jihadwatch.org Whom computers would destroy, they must first drive mad.