Home
last modified time | relevance | path

Searched refs:formatSpec (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/media/module/extractors/wav/
DWAVExtractor.cpp197 uint8_t formatSpec[40]; in init() local
198 if (mDataSource->readAt(offset, formatSpec, 2) < 2) { in init()
202 mWaveFormat = U16_LE_AT(formatSpec); in init()
216 if (mDataSource->readAt(offset, formatSpec, fmtSize) < fmtSize) { in init()
220 mNumChannels = U16_LE_AT(&formatSpec[2]); in init()
234 mSampleRate = U32_LE_AT(&formatSpec[4]); in init()
240 mBitsPerSample = U16_LE_AT(&formatSpec[14]); in init()
243 uint16_t validBitsPerSample = U16_LE_AT(&formatSpec[18]); in init()
256 mChannelMask = U32_LE_AT(&formatSpec[20]); in init()
272 mWaveFormat = U16_LE_AT(&formatSpec[24]); in init()
[all …]