Home
last modified time | relevance | path

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

/frameworks/av/media/extractors/wav/
DWAVExtractor.cpp176 uint8_t formatSpec[40]; in init() local
177 if (mDataSource->readAt(offset, formatSpec, 2) < 2) { in init()
181 mWaveFormat = U16_LE_AT(formatSpec); in init()
195 if (mDataSource->readAt(offset, formatSpec, fmtSize) < fmtSize) { in init()
199 mNumChannels = U16_LE_AT(&formatSpec[2]); in init()
213 mSampleRate = U32_LE_AT(&formatSpec[4]); in init()
219 mBitsPerSample = U16_LE_AT(&formatSpec[14]); in init()
222 uint16_t validBitsPerSample = U16_LE_AT(&formatSpec[18]); in init()
235 mChannelMask = U32_LE_AT(&formatSpec[20]); in init()
251 mWaveFormat = U16_LE_AT(&formatSpec[24]); in init()
[all …]