From owner-freebsd-multimedia Sat Dec 15 11:48: 8 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mta2.snfc21.pbi.net (mta2.snfc21.pbi.net [206.13.28.123]) by hub.freebsd.org (Postfix) with ESMTP id DC70E37B405 for ; Sat, 15 Dec 2001 11:48:06 -0800 (PST) Received: from marburg.aedifice.net ([209.233.30.172]) by mta2.snfc21.pbi.net (Sun Internet Mail Server sims.3.5.2000.01.05.12.18.p9) with ESMTP id <0GOE004MZHMZ18@mta2.snfc21.pbi.net> for freebsd-multimedia@freebsd.org; Sat, 15 Dec 2001 11:47:23 -0800 (PST) Date: Sat, 15 Dec 2001 11:47:22 -0800 From: "David C. Myers" Subject: Re: " no sound from CMedia 8738 " In-reply-to: <200112151643.fBFGhqw83715@mule.aciri.org> To: freebsd-multimedia@freebsd.org Message-id: <1008445643.320.2.camel@marburg.aedifice.net> MIME-version: 1.0 X-Mailer: Evolution/1.0 (Preview Release) Content-type: text/plain Content-transfer-encoding: 7bit References: <200112151643.fBFGhqw83715@mule.aciri.org> Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > 1. use mpg123 to play an audio file (no gui that may hide error messages). > Does it appear to be playing the file? eg doesn't complain about not > being able to open the device. > > 2. Configure your mp3 player to play at a rate lower than 44.1kHz, eg try > mpg123 -2 foo.mp3 > > 3. Configure your mp3 player to use /dev/audio rather than /dev/dsp? And try playing the same file. > mpg123 -a /dev/audio foo.mp3 None of these scenarios work. In each case, the behavior is the same: mpg123 appears to be playing the file, but no sound comes out. Oddly, you can specify a non-existent audio device (like /dev/blah or something), and mpg123 doesn't complain at all. It still appears to be playing the file. From a truss log, I never see it opening /dev/audio. Instead, it's loading a lot of ESD-related stuff. So maybe that's not a good test... Hmm. Okay, I see there's a command called 'playwave'. Running playwave with a 2.5 second wav file, it doesn't appear to run -- it exits (with return code 0) immediately. A truss does show it opening and ioctling /dev/dsp, at least. On the other hand, I can do something like this: 'cat > /dev/audio', and static does come out of the speakers. Same with /dev/dsp. -David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message