Home
last modified time | relevance | path

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

/liblc3-3.5.0-3.4.0/tools/
Dwave.c144 } header; in wave_write_header() local
147 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()
/liblc3-3.5.0-3.4.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)