summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioFlinger.cpp
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2014-10-07 13:28:44 -0700
committerMarco Nelissen <marcone@google.com>2014-10-08 20:12:45 +0000
commitd89eaddd1544dc9f6665e2578583e8083cac00da (patch)
treedc49e13b8a81d56fb33da80212d46a9a37d77d3e /services/audioflinger/AudioFlinger.cpp
parent55b2e0ea6dfa0da2a6fbac9ce2307977c27bc423 (diff)
downloadframeworks_av-d89eaddd1544dc9f6665e2578583e8083cac00da.zip
frameworks_av-d89eaddd1544dc9f6665e2578583e8083cac00da.tar.gz
frameworks_av-d89eaddd1544dc9f6665e2578583e8083cac00da.tar.bz2
Check for duplicate uuids when parsing audio_effects.conf
uuids need to be unique, and things don't work properly when they're not. Also fix/enhance/extend the dumpEffectDescriptor() method, and include a list of effects in audioflinger dumpsys. Change-Id: I3dfbc5ed0f7272c7809e337f2929212ece047ee4
Diffstat (limited to 'services/audioflinger/AudioFlinger.cpp')
-rw-r--r--services/audioflinger/AudioFlinger.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp
index e48af20..78aeb4b 100644
--- a/services/audioflinger/AudioFlinger.cpp
+++ b/services/audioflinger/AudioFlinger.cpp
@@ -401,6 +401,9 @@ status_t AudioFlinger::dump(int fd, const Vector<String16>& args)
String8 result(kClientLockedString);
write(fd, result.string(), result.size());
}
+
+ EffectDumpEffects(fd);
+
dumpClients(fd, args);
if (clientLocked) {
mClientLock.unlock();