OSDN Git Service
(root)
/
android-x86
/
system-media.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce55fde
)
Valid audio formats: add xHE-AAC and AAC-ELD
author
Jean-Michel Trivi
<jmtrivi@google.com>
Wed, 7 Mar 2018 23:10:36 +0000
(15:10 -0800)
committer
Jean-Michel Trivi
<jmtrivi@google.com>
Wed, 7 Mar 2018 23:10:36 +0000
(15:10 -0800)
Bug:
71430241
Test: only once we have decoder
Change-Id: If390ff854e3089a50e21db06758f26308beb258b
audio/include/system/audio.h
patch
|
blob
|
history
diff --git
a/audio/include/system/audio.h
b/audio/include/system/audio.h
index
a0d36c1
..
0063435
100644
(file)
--- a/
audio/include/system/audio.h
+++ b/
audio/include/system/audio.h
@@
-841,6
+841,8
@@
static inline bool audio_is_valid_format(audio_format_t format)
case AUDIO_FORMAT_AAC_ADTS:
case AUDIO_FORMAT_HE_AAC_V1:
case AUDIO_FORMAT_HE_AAC_V2:
+ case AUDIO_FORMAT_AAC_ELD:
+ case AUDIO_FORMAT_AAC_XHE:
case AUDIO_FORMAT_VORBIS:
case AUDIO_FORMAT_OPUS:
case AUDIO_FORMAT_AC3: