summaryrefslogtreecommitdiffstats
path: root/include
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
commit327c27be19ad333c4835c84397152a0b2cb33081 (patch)
tree829f4323a59b922a47f6e7a60750be8e2c64a089 /include
parent42b1648212d31dbc63518ca8379f145fef1efcb8 (diff)
downloadframeworks_base-327c27be19ad333c4835c84397152a0b2cb33081.zip
frameworks_base-327c27be19ad333c4835c84397152a0b2cb33081.tar.gz
frameworks_base-327c27be19ad333c4835c84397152a0b2cb33081.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')
-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(); }