Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#523 closed enhancement (fixed)

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)

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

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

Download all attachments as: .zip

Change History (4)

comment:1 Changed 16 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 16 years ago by nanang

Handle incomplete audio frame from sound device in pasound.c

comment:2 Changed 16 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.

comment:3 Changed 16 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.