OSDN Git Service

pulse: compute frame_duration once and fix it
authorLuca Barbato <lu_zero@gentoo.org>
Mon, 14 Nov 2011 14:53:59 +0000 (15:53 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 14 Nov 2011 15:16:41 +0000 (16:16 +0100)
commit2625b621ce7eb2d5f2f42d2a6dff37bffce3c726
treee0bc7a85b1148fc27935953844a4cb33d964afa9
parentcaf27e37b654d6f525d47bc62b914cbee4ca6a4b
pulse: compute frame_duration once and fix it

The frame duration was calculated without taking in account the
bytes per sample.

Thanks to Lorenzo Pistone <blaffablaffa@gmail.com> for pointing
the issue and providing an initial fix.
libavdevice/pulse.c