Home
last modified time | relevance | path

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

/external/chromium_org/content/renderer/media/android/
Daudio_decoder_android.cc124 static const unsigned kChunkIDLength = 4; member in content::WAVEDecoder
163 uint8_t chunk_id_[kChunkIDLength];
243 if (buffer_ + kChunkIDLength + kChunkSizeLength >= buffer_end_) in ReadChunkHeader()
246 memcpy(chunk_id_, buffer_, kChunkIDLength); in ReadChunkHeader()
248 chunk_size_ = ReadUnsignedInteger(buffer_ + kChunkIDLength, kChunkSizeLength); in ReadChunkHeader()
347 if (memcmp(chunk_id_, "RIFF", kChunkIDLength) != 0) { in DecodeWAVEFile()
351 buffer_ += kChunkIDLength + kChunkSizeLength; in DecodeWAVEFile()
371 buffer_ += kChunkIDLength + kChunkSizeLength; in DecodeWAVEFile()
379 if (memcmp(chunk_id_, "fmt ", kChunkIDLength) == 0) { in DecodeWAVEFile()
382 } else if (memcmp(chunk_id_, "data", kChunkIDLength) == 0) { in DecodeWAVEFile()