summaryrefslogtreecommitdiffstats
path: root/include/media/AudioSystem.h
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2009-08-27 00:48:47 -0700
committerEric Laurent <elaurent@google.com>2009-08-27 05:58:10 -0700
commita9c322e398a1f5fdcace3b8b73967f010b1c31ca (patch)
tree1b70ba17a1eb2df81c32928ff9ba31cb3d916597 /include/media/AudioSystem.h
parent0c89199745bc1bf05b997fc7c342017807676b6f (diff)
downloadframeworks_av-a9c322e398a1f5fdcace3b8b73967f010b1c31ca.zip
frameworks_av-a9c322e398a1f5fdcace3b8b73967f010b1c31ca.tar.gz
frameworks_av-a9c322e398a1f5fdcace3b8b73967f010b1c31ca.tar.bz2
Fix issue 2045911: Camera Shutter tone does not play correctly while listening to music.
Add the possibility to delay routing and volume commands in AudioPolicyClientInterface. The delay is not blocking for the caller.
Diffstat (limited to 'include/media/AudioSystem.h')
-rw-r--r--include/media/AudioSystem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/AudioSystem.h b/include/media/AudioSystem.h
index 1f726fe..57f8102 100644
--- a/include/media/AudioSystem.h
+++ b/include/media/AudioSystem.h
@@ -451,6 +451,7 @@ public:
status_t get(const String8& key, String8& value);
status_t getInt(const String8& key, int& value);
status_t getFloat(const String8& key, float& value);
+ status_t getAt(size_t index, String8& key, String8& value);
size_t size() { return mParameters.size(); }