Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/speech/srec/
DWaveHeader.java55 private short mBitsPerSample; field in WaveHeader
77 mBitsPerSample = bitsPerSample; in WaveHeader()
143 return mBitsPerSample; in getBitsPerSample()
153 mBitsPerSample = bitsPerSample; in setBitsPerSample()
195 mBitsPerSample = readShort(in); in read()
196 if (byteRate != mNumChannels * mSampleRate * mBitsPerSample / 8) { in read()
199 if (blockAlign != mNumChannels * mBitsPerSample / 8) { in read()
242 writeInt(out, mNumChannels * mSampleRate * mBitsPerSample / 8); in write()
243 writeShort(out, (short)(mNumChannels * mBitsPerSample / 8)); in write()
244 writeShort(out, mBitsPerSample); in write()
[all …]
/frameworks/av/media/libstagefright/
DWAVExtractor.cpp82 int32_t mBitsPerSample; member
126 mWaveFormat, mBitsPerSample, mDataOffset, mDataSize); in getTrack()
213 mBitsPerSample = U16_LE_AT(&formatSpec[14]); in init()
217 if (mBitsPerSample != 8 && mBitsPerSample != 16 in init()
218 && mBitsPerSample != 24) { in init()
222 if (mBitsPerSample != 0) { in init()
228 if (mBitsPerSample != 8) { in init()
235 if (validBitsPerSample != mBitsPerSample) { in init()
238 validBitsPerSample, mBitsPerSample); in init()
313 size_t bytesPerSample = mBitsPerSample >> 3; in init()
[all …]
DFLACExtractor.cpp593 unsigned mBitsPerSample; in init() member
608 table[i].mBitsPerSample == getBitsPerSample()) { in init()
/frameworks/av/media/libstagefright/include/
DWAVExtractor.h52 uint16_t mBitsPerSample; variable