Opened 17 years ago
Last modified 17 years ago
#504 closed defect
Problem in multichannel audio — at Version 2
Reported by: | nanang | 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 nanang)
Identified issues:
- The PA callbacks implementations contains wrong assertion, because of samples_per_frame misinterpretation (thanks Rodrigo Vega, http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2008-March/001974.html):
- Soundport's samples_per_frame is total samples number per frame of ALL channels.
- While PA's frameCount refers to number of samples for EACH channel.
- Lack of channel_count multiplication in samples_per_frame calculation in some parts of stream causing silence in stereo audio call.
- STEREO_DEMO in pjsua causing crash in PortAudio? without call (perhaps because of some pointer to PA buffer get overwritten)
Change History (4)
Changed 17 years ago by nanang
comment:1 Changed 17 years ago by bennylp
Patch ticket504.patch committed in r1848, thanks.
comment:2 Changed 17 years ago by nanang
- Description modified (diff)
- Summary changed from Wrong assertion param in portaudio callbacks (thanks Rodrigo Vega) to Problem in multichannel audio
Note: See
TracTickets for help on using
tickets.
Fixed assertion param in PortAudio?'s callback implementation