Searched refs:format_chunk (Results 1 – 1 of 1) sorted by relevance
61 FormatChunk format_chunk; member190 auto* format_chunk = &header->format_chunk; in EncodeAudioAsS16LEWav() local191 memcpy(format_chunk->chunk_id, kFormatChunkId, 4); in EncodeAudioAsS16LEWav()192 core::EncodeFixed32(format_chunk->chunk_data_size, kFormatChunkSize); in EncodeAudioAsS16LEWav()193 core::EncodeFixed16(format_chunk->compression_code, kCompressionCodePcm); in EncodeAudioAsS16LEWav()194 core::EncodeFixed16(format_chunk->channel_numbers, num_channels); in EncodeAudioAsS16LEWav()195 core::EncodeFixed32(format_chunk->sample_rate, sample_rate); in EncodeAudioAsS16LEWav()196 core::EncodeFixed32(format_chunk->bytes_per_second, bytes_per_second); in EncodeAudioAsS16LEWav()197 core::EncodeFixed16(format_chunk->bytes_per_frame, bytes_per_frame); in EncodeAudioAsS16LEWav()198 core::EncodeFixed16(format_chunk->bits_per_sample, kBitsPerSample); in EncodeAudioAsS16LEWav()