Opened 5 years ago
Closed 5 years ago
#2223 closed defect (fixed)
ALSA sound device wrapper implementation ignores period size returned by ALSA
Reported by: | riza | Owned by: | riza |
---|---|---|---|
Priority: | normal | Milestone: | release-2.10 |
Component: | pjmedia-audiodev | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: | no |
Description
Currently ALSA sound device wrapper implementation ignores period size returned by the calls
to snd_pcm_hw_params_set_period_size_near().
It simply assumes that it always gets the period size it requests which was not always the case.
This will lead to random crashes because the buffer that is allocated later on was wrongly sized.
Thanks to Andreas Wehrmann for the patch.
Change History (1)
comment:1 Changed 5 years ago by riza
- Owner set to riza
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
In 6056: