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

AFMT_S16_N



I notice the following line in snd_dev.c:

int format = AFMT_S16_NE; /* machine-endian 16 bit signed */

So basically the format of all data from the sound card for the listener as well as the listenersoundpipe are all forced to that format. If I change the format, say to AFMT_U8 (8bit unsigned), the audio is all garbled.

Is there any specific reason it is all defaulted to that? If I wanted to change everything to 8bit, can it be done?

-Mark