From ef3143a8c5130961b5d306326c26dec1fb8cfcee Mon Sep 17 00:00:00 2001 From: Manikanta Kanamarlapudi Date: Mon, 8 Jun 2015 15:50:09 -0700 Subject: QCMetadata: Add key for setBuffers API support - QTI Parser should set this key when setBuffers API is supported Change-Id: Ib90b83fbdfd6bf4731e4d1be0605c609cfa43803 --- mm-core/inc/QCMetaData.h | 22 ++++++++++++++-------- 1 file 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_ -- cgit v1.2.3