- Status Closed
- Percent Complete
- Task Type Patches
- Category Music playback
- Assigned To No-one
- Operating System All players
- Severity Low
- Priority Very Low
- Reported Version
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#5602 - Allow wav files with 'fmt ' chunk past MAX_PATH bytes
Currently Rockbox is unable to play WAV files that have a large header before the ‘fmt ' chunk. For example, wav files created with Pro-Tools or Wavelab will not work. This is due to a problem in both the wav codec and the wav metadata parser. The wav codec assumes the ‘fmt ' chunk is within the first 1024 bytes of the file and even worse, the metadata parser assumes it’s within the first MAX_PATH bytes.
This patch allows for the ‘fmt ' chunk to be located at any arbitrary location in the file as long as it still appears before the ‘data’ chunk. This fixes the problem and sample file from the forums: http://forums.rockbox.org/index.php?topic=3381.0
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
I’d appreciate it if someone could look over and test this patch to make sure I didn’t break anything. If everything looks ok, would it be alright if I committed this since it’s a bugfix that impacts 3.0 targets?