Acknowledgement sent
to yelloprotoss <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian ALSA Maintainers <[email protected]>.
(Mon, 26 Mar 2012 16:06:04 GMT) (full text, mbox, link).
Package: alsa-utils
Version: 1.0.23-3
Severity: minor
File: /usr/bin/aplay
hi
aplay -D hw:0,0 sound.wav
aplay: main:654: audio open error: Device or resource busy
but
aplay sound.wav
works
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
i am wondering if it is normal
just info
greetings
-- System Information:
Debian Release: 6.0.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages alsa-utils depends on:
ii dialog 1.1-20100428-1 Displays user-friendly dialog boxe
ii libasound2 1.0.23-2.1 shared library for ALSA applicatio
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libncursesw5 5.7+20100313-5 shared libraries for terminal hand
ii linux-sound-base 1.0.23+dfsg-2 base package for ALSA and OSS soun
ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii module-init-tools 3.12-1 tools for managing Linux kernel mo
ii udev 164-3 /dev/ and hotplug management daemo
ii whiptail 0.52.11-1 Displays user-friendly dialog boxe
Versions of packages alsa-utils recommends:
ii alsa-base 1.0.23+dfsg-2 ALSA driver configuration files
ii pciutils 1:3.1.7-6 Linux PCI Utilities
alsa-utils suggests no packages.
-- no debconf information
Acknowledgement sent
to Jonas Kölker <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian ALSA Maintainers <[email protected]>.
(Mon, 18 Jun 2012 07:51:16 GMT) (full text, mbox, link).
I did a bit of experimentation. I can reproduce your behavior on an almost
fresh install of testing.
Also, if I kill pulseaudio and then run aplay -D hw:0,0 foo.wav, pulseaudio is
running again.
So, my theory is this: the alsa library starts up pulseaudio before any kind
of playback, then tries to open the hw device, but by then pulseaudio has
already monopolized it. Hence the conflict with -D hw:0,0. Omitting those
arguments tells alsa to use its default backend---pulseaudio---which works.
--
Jonas Kölker <[email protected]> <URL:http://jonaskoelker.ignorelist.com>
At work // mail: [email protected] // office: nygaard-280 // phone: 8942 5655
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.