[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AFMT_S16_N
- To: listener@vanheusden.com
- Subject: AFMT_S16_N
- From: mark@antistatic.org
- Date: Sun, 12 Mar 2006 16:15:30 -0800
- Delivered-to: listener@vanheusden.com
- User-agent: Internet Messaging Program (IMP) H3 (4.0.4) / FreeBSD-5.3
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