diff options
author | Glenn Kasten <gkasten@google.com> | 2014-03-26 21:29:28 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-03-26 21:29:28 +0000 |
commit | ecdca392ed40e89a6ef14b86446e952c35497ac4 (patch) | |
tree | bf796efe37aca6ded41ca0ad4291ca344af337ac /services | |
parent | 51beebba9d4989d05831a13bbe5cdf53ecac1bf5 (diff) | |
parent | 66e4635cb09fadcaccf912f37c387396c428378a (diff) | |
download | frameworks_av-ecdca392ed40e89a6ef14b86446e952c35497ac4.zip frameworks_av-ecdca392ed40e89a6ef14b86446e952c35497ac4.tar.gz frameworks_av-ecdca392ed40e89a6ef14b86446e952c35497ac4.tar.bz2 |
Merge "Use symbolic constants from <system/audio.h>"
Diffstat (limited to 'services')
-rw-r--r-- | services/audioflinger/Threads.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp index e046e03..c3c9033 100644 --- a/services/audioflinger/Threads.cpp +++ b/services/audioflinger/Threads.cpp @@ -1133,7 +1133,7 @@ AudioFlinger::PlaybackThread::PlaybackThread(const sp<AudioFlinger>& audioFlinge // mStreamTypes[AUDIO_STREAM_CNT] is initialized by stream_type_t default constructor // There is no AUDIO_STREAM_MIN, and ++ operator does not compile - for (audio_stream_type_t stream = (audio_stream_type_t) 0; stream < AUDIO_STREAM_CNT; + for (audio_stream_type_t stream = AUDIO_STREAM_MIN; stream < AUDIO_STREAM_CNT; stream = (audio_stream_type_t) (stream + 1)) { mStreamTypes[stream].volume = mAudioFlinger->streamVolume_l(stream); mStreamTypes[stream].mute = mAudioFlinger->streamMute_l(stream); |