Subject: Problems with audio* tools
To: None <netbsd-users@netbsd.org>
From: None <beaker@myrealbox.com>
List: netbsd-users
Date: 10/29/2003 09:55:35
I'm unable to figure out how to get audio output from my CDROM
drive to the default audio device /dev/sound0. I _can_ get sound
out of the headphone jacks on the CDROM drive but I'd rather not
have a cable hanging off the drive's tray (this is a TOSHIBA,
XM-4101TASUNSLCD on a Sparc 5).
I've tried the following so far:
(NetBSD-1.6.1/sparc; GENERIC kernel)
% audioctl -w play=44100,2,16,slinear_le
% cdplay play 1 | /dev/sound # "Permission denied" error
% cdplay play 1 | /dev/audio # "Permission denied" error
% cdplay play 1 | audioplay -f -c 2 -P 16 -s 44100 -e slinear_le -p line -
# no error but no sound either
% cdplay play 1 | audioplay -f -c 2 -P 16 -s 44100 -e slinear_le -p line -d /dev/audio -
# no error, no sound
The 'audioplay' manpage gives an example for playing a raw CD sound
file but I'm not sure how to do this as a music CD isn't mountable;
maybe with 'dd' ?
-Beaker
Ref: 'dmesg' output:
# dmesg | grep audio
audiocs0 at sbus0 slot 4 offset 0xc000000 level 9: CS4231A
audio0 at audiocs0: full duplex
--
[ SiMpLe MaChInEs ] --> gopher://beaker.mdns.org
or (via proxy)
http://www.floodgap.com/gopher/gw.lite?gopher://beaker.mdns.org:70/11/