I just installed Amarok (I don't use arts) and it kept failing with this
error:
[GStreamer Error] ALSA device "default" is already in use by another program
Switching to the xine-engine rendered this error:
xine was unable to initialise any audio-drivers.
So I decided to wander through /dev looking for clues and found a few dsp's:
# ls -lh /dev/dsp*
crw------- 1 gabriel audio 14, 3 Mar 4 15:14 /dev/dsp
crw------- 1 gabriel audio 14, 19 Mar 4 15:14 /dev/dsp1
crw------- 1 gabriel audio 14, 35 Mar 4 15:14 /dev/dsp2
crw------- 1 gabriel audio 14, 51 Mar 4 15:14 /dev/dsp3
They're there... so i tried cat'ing them:
$ cat /dev/dsp
cat: /dev/dsp: No such device
$ cat /dev/dsp1
cat: /dev/dsp1: No such device
$ cat /dev/dsp2
cat: /dev/dsp2: No such device
$ cat /dev/dsp3
cat: /dev/dsp3: No such device
Now this is the weird part. If /dev/dsp doesn't exist, you'd think (a) it
wouldn't be there and (b) *no* sound would work. But I just played an avi
file with mplayer:
<snip>
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: got device=0, subdevice=0
alsa-init: 1 soundcard found, using: default
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little
Endian
AO: [alsa] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
<snip>
Xmms works too.
Now this is a new setup for me. It's my first amd64 system, so maybe I'm
missing something, so I'm hoping someone on this list might be able to help
me out. If this is an amarok bug, please say so, so I can report it.
--
[email protected] mailing list