Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#447 closed defect (fixed)

WAV player cuts last data from the WAV file

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

Description

When the WAV player (pjmedia_wav_player_port) is not configured to playback in a loop, it will ignore the last portion of the WAV file if the WAV file size is not aligned to the WAV port's buffer size.

Change History (3)

comment:1 Changed 11 years ago by bennylp

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

Fixed in r1683

comment:2 Changed 11 years ago by bennylp

Is now really fixed in r1685 :)

comment:3 Changed 11 years ago by bennylp

In r1690:

  • the WAV player, once it returns non-PJ_SUCCESS (because of EOF) should consistently return non-PJ_SUCCESS on subsequent get_frame() calls.
  • while we're at it, renamed the (private) WAV player struct name from struct file_port to struct file_reader_port since the same naming as the WAV writer port confuses Visual Studio.
Note: See TracTickets for help on using tickets.