Lines Matching refs:ohdr
92 Audio_hdr ohdr; // XXX - old libaudio hdr in decode_filehdr() local
123 &file_type, &ohdr, &infosize); in decode_filehdr()
138 hdr_local.sample_rate = ohdr.sample_rate; in decode_filehdr()
139 hdr_local.samples_per_unit = ohdr.samples_per_unit; in decode_filehdr()
140 hdr_local.bytes_per_unit = ohdr.bytes_per_unit; in decode_filehdr()
141 hdr_local.channels = ohdr.channels; in decode_filehdr()
142 hdr_local.encoding = (AudioEncoding) ohdr.encoding; in decode_filehdr()
160 if ((ohdr.data_size != AUDIO_UNKNOWN_SIZE) && in decode_filehdr()
161 (GetLength() != GetHeader().Bytes_to_Time(ohdr.data_size))) in decode_filehdr()
191 Audio_hdr ohdr; // XXX - old libaudio hdr in encode_filehdr() local
206 ohdr.sample_rate = hdr_local.sample_rate; in encode_filehdr()
207 ohdr.samples_per_unit = hdr_local.samples_per_unit; in encode_filehdr()
208 ohdr.bytes_per_unit = hdr_local.bytes_per_unit; in encode_filehdr()
209 ohdr.channels = hdr_local.channels; in encode_filehdr()
210 ohdr.encoding = hdr_local.encoding; in encode_filehdr()
212 ohdr.data_size = AUDIO_UNKNOWN_SIZE; in encode_filehdr()
214 ohdr.data_size = (uint_t)GetHeader().Time_to_Bytes(GetLength()); in encode_filehdr()
222 err = (AudioError) audio_write_filehdr(getfd(), &ohdr, FILE_AU, in encode_filehdr()