[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rawplay: SNDCTL_DSP_SETFMT ioctl on /dev/dsp failed: Invalid argument



On 2004-01-01 16:34:50 +1100, Benjamin Herrenschmidt wrote:
> Looks like rawplay is trying to set a sound format not supported
> by your HW. I suspect it tried to setup for little endian 16 bits
> samples while most pmac sound hardware can do only big endian.
> 
> Try passing it --sample-format=s16_be

Thanks. This solves the problem.

> The program defaults to s16_le, maybe you want to suggest the maintainer
> to default to s16_be on big-endian machines...
[...]

Done.

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Reply to: