OSDN Git Service

Noise will be heard if audio sample rate not matched with audio track
authorMing Zhou <b42586@freescale.com>
Wed, 27 Feb 2013 09:12:37 +0000 (17:12 +0800)
committerguoyin.chen <guoyin.chen@freescale.com>
Fri, 7 Jun 2013 06:04:44 +0000 (14:04 +0800)
commitda5b509fd8323bacf4043e2c29c6ee1d0716be60
tree0e511523bff6f3449fba1df6d39ec40e08e7ac2d
parenteffc08ed1eb1d55ca13997ec96f72e40a0866394
Noise will be heard if audio sample rate not matched with audio track

When audio sample rate which set to audio track is not the same with
the actual pcm data, noise will be heard. Fix the bug when write 8 bit
pcm samples.

Change-Id: Idcb0d7b0e9aaa250dd22b758c8337e23d1706049
Signed-off-by: Ming Zhou <b42586@freescale.com>
Signed-off-by: guoyin.chen <guoyin.chen@freescale.com>
media/libmedia/AudioTrack.cpp