Searched refs:hdr (Results 1 – 1 of 1) sorted by relevance
48 struct lc3bin_header hdr; in lc3bin_read_header() local50 if (fread(&hdr, sizeof(hdr), 1, fp) != 1 in lc3bin_read_header()51 || hdr.file_id != LC3_FILE_ID) in lc3bin_read_header()54 *nchannels = hdr.channels; in lc3bin_read_header()55 *frame_us = hdr.frame_10us * 10; in lc3bin_read_header()56 *srate_hz = hdr.srate_100hz * 100; in lc3bin_read_header()57 *nsamples = hdr.nsamples_low | (hdr.nsamples_high << 16); in lc3bin_read_header()59 fseek(fp, SEEK_SET, hdr.header_size); in lc3bin_read_header()86 struct lc3bin_header hdr = { in lc3bin_write_header() local97 fwrite(&hdr, sizeof(hdr), 1, fp); in lc3bin_write_header()