Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#523 closed enhancement (fixed)

Handle incomplete audio frame from sound device (e.g. OSS) — at Version 2

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

Description (last modified by bennylp)

Sound sound device backend (such as OSS) may return audio frame that is shorter or longer than a full frame, and this currently is not handled (it will trigger assertion in pasound.c).

Change History (3)

comment:1 Changed 14 years ago by bennylp

  • Summary changed from Handle incomplete audio frame from sound device to Handle incomplete audio frame from sound device (e.g. OSS)
  • Type changed from defect to enhancement

Changed 14 years ago by nanang

Handle incomplete audio frame from sound device in pasound.c

comment:2 Changed 14 years ago by bennylp

  • Description modified (diff)
  • Resolution set to fixed
  • Status changed from new to closed

Patch committed in r1918. With this patch pasound.c now is able to handle frame size that is different than requested (it may be shorter or longer).

Renamed some variable names for more clarity in r1919.

Note: See TracTickets for help on using tickets.