Hi,

I've found that in the OSS framework the /dev/dsp device uses 8-bit unsigned 
linear encoding, while the /dev/dspW device uses 16-bit linear encoding.
Any data written to the davinci audio device should be played back with the 
on-board codec (AIC33), that is configured with 16 bit per sample. But in the 
/dev folder I don't find the /dev/dspW file!
Also, I've found some people use

fdw ( "/dev/sound/dsp", O_WRONLY);
...
write ( fdw, buffer, 64);       /* where buffer in an array of unsigned chars */

I'm wondering one can access a 16-bit audio codec using /dev/dsp.
If anyone knows it, can you please give some suggestions to understand it?

Tanks.

Regards,

Gabriele Filosofi


_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to