Lines Matching refs:hdr_local
93 AudioHdr hdr_local; // local copy of header in decode_filehdr() local
139 hdr_local = GetHeader(); in decode_filehdr()
140 hdr_local.sample_rate = ohdr.sample_rate; in decode_filehdr()
141 hdr_local.samples_per_unit = ohdr.samples_per_unit; in decode_filehdr()
142 hdr_local.bytes_per_unit = ohdr.bytes_per_unit; in decode_filehdr()
143 hdr_local.channels = ohdr.channels; in decode_filehdr()
144 hdr_local.encoding = (AudioEncoding) ohdr.encoding; in decode_filehdr()
145 hdr_local.endian = BIG_ENDIAN; // Files are always written in in decode_filehdr()
148 err = SetHeader(hdr_local); in decode_filehdr()
192 AudioHdr hdr_local; // local copy of header in encode_filehdr() local
201 hdr_local = GetHeader(); in encode_filehdr()
202 hdr_local.endian = BIG_ENDIAN; // Files are always written big endian. in encode_filehdr()
203 err = SetHeader(hdr_local); in encode_filehdr()
208 ohdr.sample_rate = hdr_local.sample_rate; in encode_filehdr()
209 ohdr.samples_per_unit = hdr_local.samples_per_unit; in encode_filehdr()
210 ohdr.bytes_per_unit = hdr_local.bytes_per_unit; in encode_filehdr()
211 ohdr.channels = hdr_local.channels; in encode_filehdr()
212 ohdr.encoding = hdr_local.encoding; in encode_filehdr()