Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2001 11:47:22 -0800
From:      "David C. Myers" <myers@aedifice.net>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: " no sound from CMedia 8738 "
Message-ID:  <1008445643.320.2.camel@marburg.aedifice.net>
In-Reply-To: <200112151643.fBFGhqw83715@mule.aciri.org>
References:  <200112151643.fBFGhqw83715@mule.aciri.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> 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 <file> >
/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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1008445643.320.2.camel>