Home
last modified time | relevance | path

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

/liblc3-3.7.0-3.6.0/tools/
Dwave.c147 } header; in wave_write_header() local
150 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()
/liblc3-3.7.0-3.6.0/test/
Ddecoder.py140 header = struct.unpack('=HHHHHHHI', f_lc3.read(18)) variable
142 if header[0] != 0xcc1c:
145 if header[4] != 1:
148 sr_hz = header[2] * 100
149 bitrate = header[3] * 100
150 nchannels = header[4]
151 dt_ms = header[5] / 100
153 f_lc3.seek(header[1])
Dencoder.py178 header = struct.pack('=HHHHHHHI', 0xcc1c, 18, variable
182 if f: f.write(header)