OSDN Git Service

audioflinger: changes for new audio devices enums
authorEric Laurent <elaurent@google.com>
Tue, 28 Aug 2012 21:26:53 +0000 (14:26 -0700)
committerEric Laurent <elaurent@google.com>
Fri, 7 Sep 2012 17:32:00 +0000 (10:32 -0700)
commitf1c04f952916cf70407051c9f824ab84fb2b6e09
tree8dba2d679bf308d534c51ea5067ba6d8f4f81f25
parent261fd2119c70fda3af64453881a6346dd48eb956
audioflinger: changes for new audio devices enums

The ThreadBase class now has a separate member for input
and output devices (mInDevice, mOutDevice).

Only query get_supported_devices() from audio HAL if the function
is exposed and if the audio policy manager did not specify the
audio module to open.

Also fixed bug in AEC preprocessing that would reset
to default output device when an input device was given.

Change-Id: I19d4d06aeb920b068e3ef31e6e6be6345ce5d67a
media/libeffects/preprocessing/PreProcessing.cpp
services/audioflinger/AudioFlinger.cpp
services/audioflinger/AudioFlinger.h