diff options
author | Eric Laurent <elaurent@google.com> | 2014-12-10 21:55:52 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-12-10 21:55:52 +0000 |
commit | b279f5adfa2fd6f22c87b3a7106fbb62a0b9a5d2 (patch) | |
tree | 3e53a23fbf31379eab4d76b68af9f6b20b4c7e0c /include/media/AudioPolicyHelper.h | |
parent | a2bc118cfe860f9c108ba089b021d3b003185c56 (diff) | |
parent | c49d9cda49dab8b7dd0376cf56476b3e1895d5c6 (diff) | |
download | frameworks_av-b279f5adfa2fd6f22c87b3a7106fbb62a0b9a5d2.zip frameworks_av-b279f5adfa2fd6f22c87b3a7106fbb62a0b9a5d2.tar.gz frameworks_av-b279f5adfa2fd6f22c87b3a7106fbb62a0b9a5d2.tar.bz2 |
am c49d9cda: am 2dda40d6: Merge "audio policy: add support for custom mixes" into lmp-mr1-dev
* commit 'c49d9cda49dab8b7dd0376cf56476b3e1895d5c6':
audio policy: add support for custom mixes
Diffstat (limited to 'include/media/AudioPolicyHelper.h')
-rw-r--r-- | include/media/AudioPolicyHelper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/AudioPolicyHelper.h b/include/media/AudioPolicyHelper.h index 3ed0b74..79231be 100644 --- a/include/media/AudioPolicyHelper.h +++ b/include/media/AudioPolicyHelper.h @@ -63,7 +63,7 @@ static audio_stream_type_t audio_attributes_to_stream_type(const audio_attribute static void stream_type_to_audio_attributes(audio_stream_type_t streamType, audio_attributes_t *attr) { - attr->flags = 0x0; + memset(attr, 0, sizeof(audio_attributes_t)); switch (streamType) { case AUDIO_STREAM_DEFAULT: |