Rockbox mail archiveSubject: Re: two patches: proper WAV file handling + APEv2&id3v1 tags for everyone
Re: two patches: proper WAV file handling + APEv2&id3v1 tags for everyone
From: Frederic Devernay <frederic.devernay_at_m4x.org>
Date: Wed, 27 Jul 2005 16:41:21 +0200
OK, I fixed the WAV patch for bit depths less than 16 (more than 16 is not
officially supported by the format). Anything between 2 and 16 bits should work
now. Available on http://sourceforge.net/project/rockbox , and I also modified
the coupled APEv2/WAV patch.
I also had to reduce the buffer size so than even 8kHz mono 8-bits files
(telephone quality, used in many places) play correctly.
This was tested for various configurations (from 8kHz mono 8-bits to 44.1kHz
> Easy enough to make a program to create these files if required.
>> Well, no, I didn't come accross this part of the specs.
>> Actually, less than 8 bits is unsigned, more than 9 bits is unsigned.
>> Does anyody have 8 bits (or less) and 9 to 15 bits WAV files around so
>> that I can test this?
>> Ronald Teune a écrit :
>>> did you test the WAV handling for 8 bit files?
>>> http://www.borg.com/~jglatt/tech/wave.htm (I came across this while
>>> looking for how to write my own wave files)
>>> This page has an interesting story of wave-files and how they came into
>>> Quote: "Furthermore, there are lots of inconsistencies, for example how
>>> 8-bit data is unsigned, but 16-bit data is signed."
>>> If you do have covered this (I read through your patch, but could not
>>> find it - could be my coding skills), or if the dsp chip has covered
>>> this, then.. ah well, the wave file story is still interesting. :-)
Received on 2005-07-27