emacs-devel
[Top][All Lists]
Advanced

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

Re: play-sound-file & esd


From: Sam Steingold
Subject: Re: play-sound-file & esd
Date: Wed, 10 May 2006 09:43:40 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> * Jan Djärv <address@hidden> [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.





reply via email to

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