On Sat, 15 Sep 2001, toby wrote:

> I noticed that although my previous post about 24/32 bit with
> handling by aplay with wave files was left with no reply, 32-bit
> support has indeed been written into aplay's wave init code, in
> the late CVS versions.
>
> It must be possible to also include 24-bit sample width ability
> into aplay/record.  While 32-bit would suffice as far as
> quality goes, (8 LSB's zero padded) the 24-bit (3 byte) format,
> while possibly a bit more unwieldy (no 24-bit data type) yields
> a file which is close to 25% smaller than that of 32-bit.
>
> My docs say:
>
> If your ADC produces a sample point from 9 to 16 bits wide, a sample
> point should be stored in a WAVE as a 16-bit word (i.e., signed short).
> If your ADC produces a sample point from 17 to 24 bits wide, a sample
> point should be stored in a WAVE as three bytes. If your ADC produces
> a sample point from 25 to 32 bits wide, a sample point should be stored
> in a WAVE as a 32-bit doubleword (i.e., signed long). Etc.
>
> So, having a 24 bit ADC/DAC in my Delta44, I have interest in this.

I'm sorry, but ALSA doesn't support this format (three bytes), so it needs
to write the conversion routines for Wave files to aplay/arecord. We have
no plans to add this feature.

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
SuSE Linux    http://www.suse.com
ALSA project  http://www.alsa-project.org


_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to