OSDN Git Service

AudioRecord: Fix getInput()
authorEric Laurent <elaurent@google.com>
Wed, 27 Jul 2011 03:32:28 +0000 (20:32 -0700)
committerEric Laurent <elaurent@google.com>
Wed, 27 Jul 2011 03:32:28 +0000 (20:32 -0700)
commitd1a243e41caffa8fd346907eed4625c9c47c1a86
treea70db88e26c80b621e5e2cb326a5945ccbb5f3cc
parent288b66b60c9b3af3d84408885d0a4030c45eea9a
AudioRecord: Fix getInput()

AudioRecord::getInput() was issuing a query to get a new input stream from
audio policy service instead of returning the cached input stream in AudioRecord.

Change-Id: Ice324b7c60bc0898149023797bcb56a72091b9d3
media/libmedia/AudioRecord.cpp