Ticket #523 (closed enhancement: fixed)

Opened 10 years ago

Last modified 10 years ago

Handle imprecise audio frame from sound device (e.g. OSS)

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) (diff)

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).

Attachments

ticket523.patch (6.9 KB) - added by nanang 10 years ago.
Handle incomplete audio frame from sound device in pasound.c

Change History

comment:1 Changed 10 years ago by bennylp

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

Changed 10 years ago by nanang

Handle incomplete audio frame from sound device in pasound.c

comment:2 Changed 10 years ago by bennylp

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

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.

comment:3 Changed 10 years ago by nanang

  • Summary changed from Handle incomplete audio frame from sound device (e.g. OSS) to Handle imprecise audio frame from sound device (e.g. OSS)
Note: See TracTickets for help on using tickets.