From: Niall O Broin (niall at domain linux.ie)
Date: Mon 02 Sep 2002 - 11:13:52 IST
On Mon, Sep 02, 2002 at 12:37:55AM +0100, Paul Kelly wrote:
> Niall O Broin wrote:
> >but when I try aplay -D hw:0,0 whistle.au I just get
> >Playing Sparc Audio 'whistle.au' : Mu-Law, Rate 8000 Hz, Mono
> >aplay: set_params:758: Sample format non available
> Not sure, but doesn't the second PCM channel on the card have a limited
> feature set - only 48kHz 16-bit stereo PCM I think, or maybe it's
> 44.1kHz. If you try to ioctl() it into 8kHz 8-bit mono uLaw, you'll run
> into a brick wall.
Excellent Paul - aplay was telling me that, if only I'd listened. Now I can
play certain .wav files on device hw:0,1. If this works reliably then I'll
be spared having to go buy an Audigy or whatever.
However, that accurate answer only brings up another question:
When I do aplay whistle.au it works fine and aplay -v indicates that
it's using card 0, device 0 - so why won't aplay -D hw:0,0 work ?
Doing that gives me the "Sample format non available" error - but what's
the difference between specifying no device (hence using the default) and
specifying hw:0,0, which as far as I can tell from the output of aplay -v is
the default device ?
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:18:35 GMT