summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManikanta Kanamarlapudi <kmanikan@codeaurora.org>2015-06-08 15:50:09 -0700
committerSidipotu Ashok <sashok@codeaurora.org>2015-10-12 14:10:39 +0530
commitef3143a8c5130961b5d306326c26dec1fb8cfcee (patch)
tree7d8a19850c0bf056eb593fc95f8eb6bfc326af13
parentbcf4fa347a9faf7fca6c171c5a4709ab27c5f6c3 (diff)
downloadandroid_hardware_qcom_media-ef3143a8c5130961b5d306326c26dec1fb8cfcee.tar.gz
android_hardware_qcom_media-ef3143a8c5130961b5d306326c26dec1fb8cfcee.tar.bz2
android_hardware_qcom_media-ef3143a8c5130961b5d306326c26dec1fb8cfcee.zip
QCMetadata: Add key for setBuffers API support
- QTI Parser should set this key when setBuffers API is supported Change-Id: Ib90b83fbdfd6bf4731e4d1be0605c609cfa43803
-rw-r--r--mm-core/inc/QCMetaData.h22
1 files changed, 14 insertions, 8 deletions
diff --git a/mm-core/inc/QCMetaData.h b/mm-core/inc/QCMetaData.h
index 43a0ed46..320f2b39 100644
--- a/mm-core/inc/QCMetaData.h
+++ b/mm-core/inc/QCMetaData.h
@@ -66,14 +66,17 @@ enum {
kKeyHFR = 'hfr ', // int32_t
kKeyHSR = 'hsr ', // int32_t
- kKeySampleBits = 'sbit', // int32_t (audio sample bit-width)
- kKeyPcmFormat = 'pfmt', //int32_t (pcm format)
- kKeyMinBlkSize = 'mibs', //int32_t
- kKeyMaxBlkSize = 'mabs', //int32_t
- kKeyMinFrmSize = 'mifs', //int32_t
- kKeyMaxFrmSize = 'mafs', //int32_t
- kKeyMd5Sum = 'md5s', //cstring
- kKeyIsByteMode = 'bytm', //int32_t
+ kKeySampleBits = 'sbit', // int32_t (audio sample bit-width)
+ kKeyPcmFormat = 'pfmt', //int32_t (pcm format)
+ kKeyMinBlkSize = 'mibs', //int32_t
+ kKeyMaxBlkSize = 'mabs', //int32_t
+ kKeyMinFrmSize = 'mifs', //int32_t
+ kKeyMaxFrmSize = 'mafs', //int32_t
+ kKeyMd5Sum = 'md5s', //cstring
+
+ kKeyBatchSize = 'btch', //int32_t
+ kKeyIsByteMode = 'bytm', //int32_t
+ kKeyUseSetBuffers = 'setb', //bool (int32_t)
};
enum {
@@ -94,6 +97,9 @@ enum {
CAN_SEEK_TO_ZERO = 16, // the "previous button"
};
+enum {
+ USE_SET_BUFFERS = 1,
+};
} // namespace android
#endif // QC_META_DATA_H_