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:
f667680
)
system/audio.h: Add EAC3-JOC and MAT to "valid formats"
author
Mikhail Naganov
<mnaganov@google.com>
Wed, 7 Mar 2018 01:35:24 +0000
(17:35 -0800)
committer
Mikhail Naganov
<mnaganov@google.com>
Wed, 7 Mar 2018 16:40:05 +0000
(16:40 +0000)
Update audio_is_valid_format to recognize EAC3-JOC and MAT
Bug:
38184704
Bug:
63901775
Test: make
Change-Id: I19def058a1bc0f8d16937e1ec53e9de51919a93b
audio/include/system/audio.h
patch
|
blob
|
history
diff --git
a/audio/include/system/audio.h
b/audio/include/system/audio.h
index
5b8b811
..
eaa7f3a
100644
(file)
--- a/
audio/include/system/audio.h
+++ b/
audio/include/system/audio.h
@@
-859,6
+859,10
@@
static inline bool audio_is_valid_format(audio_format_t format)
case AUDIO_FORMAT_DSD:
case AUDIO_FORMAT_AC4:
case AUDIO_FORMAT_LDAC:
+ case AUDIO_FORMAT_E_AC3_JOC:
+ case AUDIO_FORMAT_MAT_1_0:
+ case AUDIO_FORMAT_MAT_2_0:
+ case AUDIO_FORMAT_MAT_2_1:
return true;
default:
return false;