unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Sam Steingold <sds@podval.org>
Subject: Re: play-sound-file & esd
Date: Wed, 10 May 2006 09:43:40 -0400	[thread overview]
Message-ID: <al1wv20zcj.fsf@quant8.janestcapital.quant> (raw)
In-Reply-To: 4461E7DC.8070007@swipnet.se

> * Jan Djärv <wna.u.q@fjvcarg.fr> [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	other threads:[~2006-05-10 13:43 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-25 19:43 play-sound-file & esd Sam Steingold
2006-04-25 20:11 ` Sam Steingold
2006-04-29  3:50   ` Richard Stallman
2006-04-29  3:50 ` Richard Stallman
2006-05-01 13:55   ` Sam Steingold
2006-05-02 10:03     ` Jan Djärv
2006-05-02 21:37       ` Richard Stallman
2006-05-03  6:48         ` Jan Djärv
2006-05-03 10:20           ` David Hansen
2006-05-03 11:51             ` Andreas Schwab
2006-05-03 20:42           ` Richard Stallman
2006-05-05 18:41             ` Sam Steingold
2006-05-06 14:25               ` Richard Stallman
2006-05-08  7:27                 ` Jan Djärv
2006-05-08 22:29                   ` Richard Stallman
2006-05-08 22:40                     ` Sam Steingold
2006-05-09 20:41                       ` Richard Stallman
2006-05-09 23:16                         ` David Hansen
2006-05-10  6:26                           ` Jan Djärv
2006-05-10 12:45                             ` Sam Steingold
2006-05-10 13:17                               ` Jan Djärv
2006-05-10 13:43                                 ` Sam Steingold [this message]
2006-05-15 20:37                                   ` Richard Stallman
2006-05-15 21:43                                     ` Andreas Schwab
2006-05-16  7:21                                       ` Jan Djärv
2006-05-16 19:44                                         ` Richard Stallman
2006-05-18 17:13                                           ` Jan D.
2006-05-19 15:10                                             ` Richard Stallman
2006-05-24 18:53                                             ` Romain Francoise
2006-05-25 14:36                                               ` Jan D.
     [not found]                                                 ` <87u07eujtq.fsf@pacem.orebokech.com>
2006-05-26  6:33                                                   ` Jan Djärv
2006-05-26 16:29                                                     ` Romain Francoise
2006-05-17 14:14                                         ` joakim
2006-05-17 14:23                                           ` Andreas Schwab
2006-05-17 20:07                                             ` Richard Stallman
2006-05-17 21:04                                               ` Andreas Schwab
2006-05-18 18:46                                                 ` Jan Djärv
2006-05-19  2:05                                                 ` Richard Stallman
2006-05-19  7:04                                                   ` joakim
2006-05-17 20:07                                           ` Richard Stallman
2006-05-17 20:19                                             ` Sam Steingold
2006-05-19  2:05                                               ` Richard Stallman
2006-05-19  4:38                                                 ` Jan Djärv
2006-05-20  3:17                                           ` Burton Samograd
2006-05-20  8:51                                             ` Jan Djärv
2006-05-20  9:33                                               ` David Kastrup
2006-05-20 12:03                                                 ` Jan Djärv
2006-05-20 17:05                                               ` Richard Stallman
2006-05-20 17:04                                             ` Richard Stallman
2006-05-16 18:33                                       ` Richard Stallman
2006-05-16 18:49                                         ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=al1wv20zcj.fsf@quant8.janestcapital.quant \
    --to=sds@podval.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).