diff options
author | Eric Laurent <elaurent@google.com> | 2011-08-30 10:51:54 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-08-30 10:51:54 -0700 |
commit | 0e35c78d25a8df8b3bde566ad6c474f9df242ea4 (patch) | |
tree | 257814957ad7bdfc43cb5527c4a22e9e25b88d6f /services/audioflinger/AudioFlinger.h | |
parent | d0116b680a2c194eb3b8713a230151bfb32a6aef (diff) | |
parent | 05ce0941649c3cdd7f8034496719e607977fc005 (diff) | |
download | frameworks_base-0e35c78d25a8df8b3bde566ad6c474f9df242ea4.zip frameworks_base-0e35c78d25a8df8b3bde566ad6c474f9df242ea4.tar.gz frameworks_base-0e35c78d25a8df8b3bde566ad6c474f9df242ea4.tar.bz2 |
Merge "226483: A2DP connected, but music out to speaker"
Diffstat (limited to 'services/audioflinger/AudioFlinger.h')
-rw-r--r-- | services/audioflinger/AudioFlinger.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h index 1ceb0ec..2e05593 100644 --- a/services/audioflinger/AudioFlinger.h +++ b/services/audioflinger/AudioFlinger.h @@ -751,14 +751,18 @@ private: virtual uint32_t hasAudioSession(int sessionId); virtual uint32_t getStrategyForSession_l(int sessionId); + void setStreamValid(int streamType, bool valid); + struct stream_type_t { stream_type_t() : volume(1.0f), - mute(false) + mute(false), + valid(true) { } float volume; bool mute; + bool valid; }; protected: |