summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/Android.mk
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2014-05-20 10:48:17 -0700
committerEric Laurent <elaurent@google.com>2014-05-27 10:53:51 -0700
commit1c333e252cbca3337c1bedbc57a005f3b7d23fdb (patch)
tree327f985a0db89dad8fc742baf5b198c3b78c429b /services/audioflinger/Android.mk
parent4b123406c10c17852734a1b691bb9ce2a4cb7caf (diff)
downloadframeworks_av-1c333e252cbca3337c1bedbc57a005f3b7d23fdb.zip
frameworks_av-1c333e252cbca3337c1bedbc57a005f3b7d23fdb.tar.gz
frameworks_av-1c333e252cbca3337c1bedbc57a005f3b7d23fdb.tar.bz2
audioflinger: first patch panel implementation.
Added a new PatchPanel subclass to AudioFlinger to handle audio ports and audio patches configuration and connection. The first implementation does not add new functionnality. AudioPolicyManager uses patch panel interface to control device routing. AudioFlinger: - Added PatchPanel class. The first implementation does not add new functionnality. PatchPanel handles routing commands for audio HAL after 3.0 or converts to setParameters for audio HALs before 3.0. - Added config events to ThreadBase to control synchronized audio patch connection. AudioPolicyManager: - Use PatchPanel API to control device selection isntead of setParameters. - New base class AudioPort common to audio device descriptors and input output stream profiles. This class is RefBase and groups attributes common to audio ports. - Use same device selection flow for input as for outputs: getNewInputDevice -> getDeviceForInptusiource -> setInputDevice Change-Id: Idaa5a883b19a45816651c58cac697640dc717cd9
Diffstat (limited to 'services/audioflinger/Android.mk')
-rw-r--r--services/audioflinger/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/audioflinger/Android.mk b/services/audioflinger/Android.mk
index 8d0a705..f7b6f64 100644
--- a/services/audioflinger/Android.mk
+++ b/services/audioflinger/Android.mk
@@ -29,6 +29,7 @@ LOCAL_SRC_FILES:= \
Tracks.cpp \
Effects.cpp \
AudioMixer.cpp.arm \
+ PatchPanel.cpp
LOCAL_SRC_FILES += StateQueue.cpp