[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [listener] 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.
That is strange, libsndfile should take care of that.
> Is there any specific reason it is all defaulted to that? If I wanted
> to change everything to 8bit, can it be done?
I think so, but why would you? Soundquality goes down quit a lot.
You can also use an other tool for downscaling.
Folkert van Heusden
--
www.biglumber.com <- site where one can exchange PGP key signatures
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com