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/base/media/libstagefright/
DWAVExtractor.cpp74 int32_t mBitsPerSample; member
117 mWaveFormat, mBitsPerSample, mDataOffset, mDataSize); in getTrack()
187 mBitsPerSample = U16_LE_AT(&formatSpec[14]); in init()
190 if (mBitsPerSample != 8 && mBitsPerSample != 16 in init()
191 && mBitsPerSample != 24) { in init()
197 if (mBitsPerSample != 8) { in init()
229 size_t bytesPerSample = mBitsPerSample >> 3; in init()
260 mBitsPerSample(bitsPerSample), in WAVSource()
285 if (mBitsPerSample == 8) { in start()
323 int64_t pos = (seekTimeUs * mSampleRate) / 1000000 * mNumChannels * (mBitsPerSample >> 3); in read()
[all …]
DFLACExtractor.cpp548 unsigned mBitsPerSample; in init() member
560 table[i].mBitsPerSample == getBitsPerSample()) { in init()
/frameworks/base/media/libstagefright/include/
DWAVExtractor.h51 uint16_t mBitsPerSample; variable