Searched refs:format_chunk (Results 1 – 1 of 1) sorted by relevance
61 FormatChunk format_chunk; member186 auto* format_chunk = &header->format_chunk; in EncodeAudioAsS16LEWav() local187 memcpy(format_chunk->chunk_id, kFormatChunkId, 4); in EncodeAudioAsS16LEWav()188 core::EncodeFixed32(format_chunk->chunk_data_size, kFormatChunkSize); in EncodeAudioAsS16LEWav()189 core::EncodeFixed16(format_chunk->compression_code, kCompressionCodePcm); in EncodeAudioAsS16LEWav()190 core::EncodeFixed16(format_chunk->channel_numbers, num_channels); in EncodeAudioAsS16LEWav()191 core::EncodeFixed32(format_chunk->sample_rate, sample_rate); in EncodeAudioAsS16LEWav()192 core::EncodeFixed32(format_chunk->bytes_per_second, bytes_per_second); in EncodeAudioAsS16LEWav()193 core::EncodeFixed16(format_chunk->bytes_per_frame, bytes_per_frame); in EncodeAudioAsS16LEWav()194 core::EncodeFixed16(format_chunk->bits_per_sample, kBitsPerSample); in EncodeAudioAsS16LEWav()