Home
last modified time | relevance | path

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

/frameworks/av/media/extractors/wav/
DWAVExtractor.cpp195 uint8_t formatSpec[40]; in init() local
196 if (mDataSource->readAt(offset, formatSpec, 2) < 2) { in init()
200 mWaveFormat = U16_LE_AT(formatSpec); in init()
214 if (mDataSource->readAt(offset, formatSpec, fmtSize) < fmtSize) { in init()
218 mNumChannels = U16_LE_AT(&formatSpec[2]); in init()
232 mSampleRate = U32_LE_AT(&formatSpec[4]); in init()
238 mBitsPerSample = U16_LE_AT(&formatSpec[14]); in init()
241 uint16_t validBitsPerSample = U16_LE_AT(&formatSpec[18]); in init()
254 mChannelMask = U32_LE_AT(&formatSpec[20]); in init()
270 mWaveFormat = U16_LE_AT(&formatSpec[24]); in init()
[all …]