Home
last modified time | relevance | path

Searched refs:ohdr (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/cmd/audio/audioconvert/
H A Dconvert.cc70 AudioHdr ohdr) in verify_conversion() argument
81 ((ohdr.encoding != ULAW) && in verify_conversion()
82 (ohdr.encoding != ALAW) && in verify_conversion()
83 (ohdr.encoding != LINEAR) && in verify_conversion()
84 (ohdr.encoding != FLOAT) && in verify_conversion()
85 (ohdr.encoding != G721) && in verify_conversion()
86 (ohdr.encoding != G723))) { in verify_conversion()
88 enc2 = ohdr.EncodingString(); in verify_conversion()
101 AudioHdr ohdr, in noop_conversion() argument
107 if ((ihdr == ohdr) && in noop_conversion()
[all …]
H A Dmain.cc70 AudioHdr ohdr; in main() local
103 init_header(ohdr); in main()
110 (void) parse_format((char *)"pcm", ohdr, ofmt, o_offset); in main()
113 (void) parse_format((char *)"ulaw", ohdr, ofmt, o_offset); in main()
116 (void) parse_format((char *)"g721", ohdr, ofmt, o_offset); in main()
119 (void) parse_format((char *)"ulaw", ohdr, ofmt, o_offset); in main()
122 (void) parse_format((char *)"ulaw", ohdr, ofmt, o_offset); in main()
155 if (parse_format(out_fmt, ohdr, ofmt, o_offset) == -1) in main()
262 ohdr = ifp->GetHeader(); in main()
263 ohdr = ifp->GetHeader(); in main()
[all …]
H A Dfile.cc86 Audio_hdr ohdr; // ignore this ... in open_input_file() local
154 (unsigned char *)&fhdr, &file_type, &ohdr, in open_input_file()
222 const AudioHdr ohdr, in create_output_file() argument
240 (FileAccess)WriteOnly, ohdr, in create_output_file()
269 ohdr, path))) { in create_output_file()
292 if ((err = ofp->SetHeader(ohdr)) != AUDIO_SUCCESS) { in create_output_file()
/titanic_41/usr/src/cmd/audio/utilities/
H A DAudioUnixfile.cc94 Audio_hdr ohdr; // XXX - old libaudio hdr in decode_filehdr() local
125 &file_type, &ohdr, &infosize); 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()
162 if ((ohdr.data_size != AUDIO_UNKNOWN_SIZE) && in decode_filehdr()
163 (GetLength() != GetHeader().Bytes_to_Time(ohdr.data_size))) in decode_filehdr()
193 Audio_hdr ohdr; // XXX - old libaudio hdr in encode_filehdr() local
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_capture.c58 struct ohdr { struct
71 static void convert_old(struct ohdr *); argument
377 convert_old((struct ohdr *)hdrp); in scan()
737 convert_old(struct ohdr *ohdrp) in convert_old()