Searched refs:header (Results 1 – 3 of 3) sorted by relevance
144 } header; in wave_write_header() local147 long file_size = sizeof(header) + data_size; in wave_write_header()149 header.file = (struct wave_file){ in wave_write_header()154 header.format = (struct wave_format){ in wave_write_header()155 WAVE_FORMAT_ID, sizeof(header.format) - 8, in wave_write_header()164 header.data = (struct wave_data){ in wave_write_header()168 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)