Searched refs:header (Results 1 – 3 of 3) sorted by relevance
147 } header; in wave_write_header() local150 long file_size = sizeof(header) + data_size; in wave_write_header()152 header.file = (struct wave_file){ in wave_write_header()157 header.format = (struct wave_format){ in wave_write_header()158 WAVE_FORMAT_ID, sizeof(header.format) - 8, in wave_write_header()167 header.data = (struct wave_data){ in wave_write_header()171 fwrite(&header, sizeof(header), 1, fp); in wave_write_header()
140 header = struct.unpack('=HHHHHHHI', f_lc3.read(18)) variable142 if header[0] != 0xcc1c:145 if header[4] != 1:148 sr_hz = header[2] * 100149 bitrate = header[3] * 100150 nchannels = header[4]151 dt_ms = header[5] / 100153 f_lc3.seek(header[1])
178 header = struct.pack('=HHHHHHHI', 0xcc1c, 18, variable182 if f: f.write(header)