Opened 16 years ago

Closed 13 years ago

Last modified 13 years ago

#597 closed defect (fixed)

Error reading WAV files when there are extra chunks after DATA chunk (thanks Thomas Johnson for the patch)

Reported by: bennylp Owned by: nanang
Priority: normal Milestone: release-1.10
Component: pjmedia Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

Some sound editors (like Sony Sound Forge which I use) put chunks at the end after the sound data. This causes wav_player to reject WAV files created by SF.

Change History (3)

comment:1 Changed 13 years ago by ming

  • Resolution set to fixed
  • Status changed from new to closed

(In [3405]) Fixes #597: Error reading WAV files when there are extra chunks after DATA chunk.
Wav player will now just play data chunks in wav files and ignore others.

comment:2 Changed 13 years ago by ming

  • Milestone changed from Known-Issues-and-Ideas to release-1.10
  • Summary changed from Error reading WAV files when there are extra chunks after DATA chunk to Error reading WAV files when there are extra chunks after DATA chunk (thanks Thomas Johnson for the patch)

Also fixed buffer padding in EOF event for PCMA/U data.

comment:3 Changed 13 years ago by ming

(In [3407]) Re #597: Modify buffer padding code for EOF event (thanks to Thomas Johnson).

Note: See TracTickets for help on using tickets.