summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2011-08-30 10:51:54 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-08-30 10:51:54 -0700
commitb76e90de3c64626fe07a68469d0a59a31c8efb6b (patch)
treeb8ced112fa7e83a34898679552a26744610ce0e1 /include
parent1619f3d3428e9d502dc477d31e0681fe1cd12b89 (diff)
parent9f6530f53ae9eda43f4e7c1cb30d2379db00aa00 (diff)
downloadframeworks_av-b76e90de3c64626fe07a68469d0a59a31c8efb6b.zip
frameworks_av-b76e90de3c64626fe07a68469d0a59a31c8efb6b.tar.gz
frameworks_av-b76e90de3c64626fe07a68469d0a59a31c8efb6b.tar.bz2
Merge "226483: A2DP connected, but music out to speaker"
Diffstat (limited to 'include')
-rw-r--r--include/media/AudioSystem.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/media/AudioSystem.h b/include/media/AudioSystem.h
index e0d7898..6a15f6e 100644
--- a/include/media/AudioSystem.h
+++ b/include/media/AudioSystem.h
@@ -185,6 +185,10 @@ public:
static status_t unregisterEffect(int id);
static status_t setEffectEnabled(int id, bool enabled);
+ // clear stream to output mapping cache (gStreamOutputMap)
+ // and output configuration cache (gOutputs)
+ static void clearAudioConfigCache();
+
static const sp<IAudioPolicyService>& get_audio_policy_service();
// ----------------------------------------------------------------------------
@@ -236,7 +240,8 @@ private:
// mapping between stream types and outputs
static DefaultKeyedVector<int, audio_io_handle_t> gStreamOutputMap;
- // list of output descritor containing cached parameters (sampling rate, framecount, channel count...)
+ // list of output descriptors containing cached parameters
+ // (sampling rate, framecount, channel count...)
static DefaultKeyedVector<audio_io_handle_t, OutputDescriptor *> gOutputs;
};