Searched refs:mFmtChunk (Results 1 – 2 of 2) sorted by relevance
38 int getSampleRate() { return mFmtChunk->mSampleRate; } in getSampleRate()41 return mDataChunk->mChunkSize / (mFmtChunk->mSampleSize / 8) / mFmtChunk->mNumChannels; in getNumSampleFrames()44 int getNumChannels() { return mFmtChunk != 0 ? mFmtChunk->mNumChannels : 0; } in getNumChannels()48 int getBitsPerSample() { return mFmtChunk->mSampleSize; } in getBitsPerSample()63 WavFmtChunkHeader *mFmtChunk; variable
37 mFmtChunk = 0; in WavStreamReader()46 if (mFmtChunk->mEncodingId == WavFmtChunkHeader::ENCODING_PCM) { in getSampleEncoding()47 switch (mFmtChunk->mSampleSize) { in getSampleEncoding()61 } else if (mFmtChunk->mEncodingId == WavFmtChunkHeader::ENCODING_IEEE_FLOAT) { in getSampleEncoding()86 chunk = mFmtChunk = new WavFmtChunkHeader(tag); in parse()87 mFmtChunk->read(mStream); in parse()118 if (mDataChunk == 0 || mFmtChunk == 0) { in getDataFloat()124 int numChans = mFmtChunk->mNumChannels; in getDataFloat()128 if (mFmtChunk->mSampleSize == 16) { in getDataFloat()