From owner-freebsd-questions Tue Feb 13 10:25:56 2001 Delivered-To: freebsd-questions@freebsd.org Received: from neptune.innovativeinternet.net (neptune.innovativeinternet.net [208.244.165.5]) by hub.freebsd.org (Postfix) with ESMTP id 3189637B491 for ; Tue, 13 Feb 2001 10:25:51 -0800 (PST) Received: from pcpsj.pfcs.com (harlan.xecu.net [216.127.150.112]) by neptune.innovativeinternet.net (Postfix) with ESMTP id 2147539D53 for ; Tue, 13 Feb 2001 13:25:48 -0500 (EST) Received: from brown.pfcs.com (brown.pfcs.com [192.52.69.44]) by pcpsj.pfcs.com (Postfix) with ESMTP id 178E9D448 for ; Tue, 13 Feb 2001 13:25:30 -0500 (EST) Received: from localhost.pfcs.com [127.0.0.1] (HELO brown.pfcs.com) by brown.pfcs.com (8.8.8/8.8.8) via ESMTP id for ; Tue, 13 Feb 2001 13:25:29 -0500 (EST) To: questions@freebsd.org Subject: mpg123, 4-STABLE with pcm (ES1371) X-Face: "csXK}xnnsH\h_ce`T#|pM]tG,6Xu.{3Rb\]&XJgVyTS'w{E+|-(}n:c(Cc* $cbtusxDP6T)Hr'k&zrwq0.3&~bAI~YJco[r.mE+K|(q]F=ZNXug:s6tyOk{VTqARy0#axm6BWti9C d User-Agent: EMH/1.10.0 SEMI/1.13.3 (Komaiko) FLIM/1.12.7 (=?ISO-8859-1?Q?Y?= =?ISO-8859-1?Q?=1B=2ED=8E=FEzaki?=) XEmacs/21.1 (20 Minutes to Nikko) (i386-unknown-freebsd2.2.8) MIME-Version: 1.0 (generated by SEMI 1.13.3 - "Komaiko") Content-Type: text/plain; charset=US-ASCII Date: Tue, 13 Feb 2001 13:25:29 -0500 Message-ID: <28097.982088729@brown.pfcs.com> From: Harlan Stenn Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've installed a machine from the 4.2-RELEASE CDs, including mpg123 from the packages distribution. I built a kernel with "device pcm" and created the sound devices. # cat /dev/sndstat FreeBSD Audio Driver (newpcm) Jan 20 2001 13:47:36 Installed devices: pcm0: at io 0xa800 irq 9 (1p/1r channels duplex) # mpg123 foo.mp3 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3. Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp. Uses code from various people. See 'README' for more! THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK! Can't open /dev/dsp! # mpg123 -a /dev/pcaudio foo.mp3 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3. Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp. Uses code from various people. See 'README' for more! THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK! Can't open /dev/pcaudio! # The machine is now at 4-STABLE. The error message chagnes slightly if I use mpg123 compiled from ports: # ./mpg123 foo.mp3 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3. Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp. Uses code from various people. See 'README' for more! THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK! /dev/dsp: Device busy audio: Device busy # ./mpg123 -a /dev/pcmaudio foo.mp3 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3. Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp. Uses code from various people. See 'README' for more! THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK! /dev/dsp: Device busy audio: Device busy This last one is not a typo - I fed it the -a option and it seems to be ignored. Also, "lsof" says *nothing* about /dev/dsp . Ideas? (I'll probably start hacking the C code in a bit to track down the -a option thing - I have lots of irons in the fire today). H To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message