Problems with OSS
simonb at webone.com.au
Fri Mar 29 17:42:18 EST 2002
you probably need all three of these:
Michael Still wrote:
> Hey all,
> I was bored yesterday, and wrote a little wav decoder which plays via OSS
> -- it takes about 200 lines of code. Anyway, this works fine for 8KHz mono
> wav files, but for the stereo 44Khz file it just produces a clicking
> I am having some troubles identifying what to set SNDCTL_DSP_SETFMT to for
> this data. I have tried AFMT_U16_LE and AFMT_S16_LE, but neither worked.
> Does anyone have any hints / sample code for this? Would it be more
> helpful if I posted a URL to my code?
More information about the linux