Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#4119 - sox won't play through alsa. oss works fine
Attached to Project:
Arch Linux
Opened by Paul Seropian (paranoos) - Monday, 06 March 2006, 20:58 GMT
Last edited by Roman Kyrylych (Romashka) - Saturday, 14 April 2007, 18:58 GMT
Opened by Paul Seropian (paranoos) - Monday, 06 March 2006, 20:58 GMT
Last edited by Roman Kyrylych (Romashka) - Saturday, 14 April 2007, 18:58 GMT
|
DetailsI'm trying to get sox to play sine waves through alsa to help me tune my guitar. (synth sine create %0 generates a 440Hz sine wave)
$ sox -w -s -r 48000 -t nul /dev/zero -t alsa /dev/snd/pcmC0D0p synth sine create %0 ALSA lib pcm.c:2099:(snd_pcm_open_noupdate) Unknown PCM /dev/snd/pcmC0D0p sox: Failed writing /dev/snd/pcmC0D0p: cannot open audio device If I modprobe snd-pcm-oss and use '-t ossdsp /dev/dsp' it works, but I prefer to disable OSS. I searched Google and all I found was a German Debian mailing list. It seems their solution was 'apt-get -b source sox' which I think means they compiled the package themselves. I used makepkg to compile sox myself and installed the package, it didn't fix it :( 'sox wavefile.wav -t alsa /dev/snd/pcmC0D0p' should play a wavefile (or even an mp3) through alsa. I get the same error here. |
This task depends upon
i'm telling it to create unsigned word samples, and alsa is complaining that it doesn't support signed byte.
Works for me using the just released 13.0.0 package.
anyhow, thanks!