Searched refs:ohdr (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/cmd/audio/audioconvert/ |
H A D | convert.cc | 68 AudioHdr ohdr) in verify_conversion() argument 79 ((ohdr.encoding != ULAW) && in verify_conversion() 80 (ohdr.encoding != ALAW) && in verify_conversion() 81 (ohdr.encoding != LINEAR) && in verify_conversion() 82 (ohdr.encoding != FLOAT) && in verify_conversion() 83 (ohdr.encoding != G721) && in verify_conversion() 84 (ohdr.encoding != G723))) { in verify_conversion() 86 enc2 = ohdr.EncodingString(); in verify_conversion() 99 AudioHdr ohdr, in noop_conversion() argument 105 if ((ihdr == ohdr) && in noop_conversion() [all …]
|
H A D | main.cc | 67 AudioHdr ohdr; in main() local 100 init_header(ohdr); in main() 107 (void) parse_format((char *)"pcm", ohdr, ofmt, o_offset); in main() 110 (void) parse_format((char *)"ulaw", ohdr, ofmt, o_offset); in main() 113 (void) parse_format((char *)"g721", ohdr, ofmt, o_offset); in main() 116 (void) parse_format((char *)"ulaw", ohdr, ofmt, o_offset); in main() 119 (void) parse_format((char *)"ulaw", ohdr, ofmt, o_offset); in main() 152 if (parse_format(out_fmt, ohdr, ofmt, o_offset) == -1) in main() 259 ohdr = ifp->GetHeader(); in main() 260 ohdr = ifp->GetHeader(); in main() [all …]
|
H A D | file.cc | 84 Audio_hdr ohdr; // ignore this ... in open_input_file() local 152 (unsigned char *)&fhdr, &file_type, &ohdr, in open_input_file() 220 const AudioHdr ohdr, in create_output_file() argument 238 (FileAccess)WriteOnly, ohdr, in create_output_file() 267 ohdr, path))) { in create_output_file() 290 if ((err = ofp->SetHeader(ohdr)) != AUDIO_SUCCESS) { in create_output_file()
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | AudioUnixfile.cc | 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 [all …]
|
/illumos-gate/usr/src/tools/btxld/ |
H A D | btxld.c | 219 struct hdr ihdr, ohdr; in btxld() local 248 memset(&ohdr, 0, sizeof(ohdr)); in btxld() 249 ohdr.fmt = format; in btxld() 250 ohdr.text = ldr_size; in btxld() 251 ohdr.data = btx.btx_textsz + ihdr.size; in btxld() 252 ohdr.org = lentry; in btxld() 253 ohdr.entry = lentry; in btxld() 277 puthdr(fdo, &ohdr); in btxld() 283 seekx(fdo, ohdr.size += ohdr.text); in btxld() 296 if (ftruncate(fdo, ohdr.size += ohdr.data)) in btxld() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_capture.c | 60 struct ohdr { struct 73 static void convert_old(struct ohdr *); argument 400 convert_old((struct ohdr *)hdrp); in scan() 844 convert_old(struct ohdr *ohdrp) in convert_old()
|