Home
last modified time | relevance | path

Searched refs:outhdr (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/cmd/audio/utilities/
H A DAudioTypeG72X.cc96 AudioHdr outhdr) // target header in Convert() argument
133 pad = outhdr.Samples_to_Time( in Convert()
134 4 * outhdr.bytes_per_unit * outhdr.channels); in Convert()
140 if (err = outbuf->SetHeader(outhdr)) { in Convert()
156 switch (outhdr.encoding) { in Convert()
165 length = outhdr.Bytes_to_Time(cnt); in Convert()
175 length = outhdr.Bytes_to_Time(cnt); in Convert()
182 switch (outhdr.encoding) { in Convert()
186 chdr = (Audio_hdr)outhdr; in Convert()
200 switch (outhdr.encoding) { in Convert()
[all …]
H A DAudioTypePcm.cc210 AudioHdr outhdr) // target header in Convert() argument
278 switch (outhdr.encoding) { in Convert()
282 switch (outhdr.bytes_per_unit) { in Convert()
357 switch (outhdr.encoding) { in Convert()
419 switch (outhdr.encoding) { in Convert()
421 switch (outhdr.bytes_per_unit) { in Convert()
429 switch (outhdr.bytes_per_unit) { in Convert()
444 switch (outhdr.encoding) { in Convert()
446 switch (outhdr.bytes_per_unit) { in Convert()
454 switch (outhdr.bytes_per_unit) { in Convert()
[all …]
H A DAudioTypeMux.cc66 AudioHdr outhdr) // target header in Convert() argument
84 channels = outhdr.channels; in Convert()
97 if ((inhdr.sample_rate != outhdr.sample_rate) || in Convert()
98 (inhdr.encoding != outhdr.encoding) || in Convert()
99 (inhdr.samples_per_unit != outhdr.samples_per_unit) || in Convert()
100 (inhdr.bytes_per_unit != outhdr.bytes_per_unit)) in Convert()
102 if (inhdr.channels == outhdr.channels) in Convert()
104 if ((inhdr.channels != 1) && (outhdr.channels != 1)) in Convert()
129 if (err = multibuf[i]->SetHeader(outhdr)) { in Convert()
172 if (err = outbuf->SetHeader(outhdr)) { in Convert()
[all …]
H A DAudioTypeChannel.cc67 AudioHdr outhdr) // target header in Convert() argument
92 if ((inhdr.sample_rate != outhdr.sample_rate) || in Convert()
93 (inhdr.encoding != outhdr.encoding) || in Convert()
94 (inhdr.samples_per_unit != outhdr.samples_per_unit) || in Convert()
95 (inhdr.bytes_per_unit != outhdr.bytes_per_unit)) in Convert()
97 if (inhdr.channels == outhdr.channels) in Convert()
99 if ((inhdr.channels != 1) && (outhdr.channels != 1)) in Convert()
106 newhdr.channels = outhdr.channels; in Convert()
H A DAudioTypeSampleRate.cc76 AudioHdr outhdr) // target header in Convert() argument
97 if ((err = inhdr.Validate()) || (err = outhdr.Validate())) { in Convert()
105 (outhdr.sample_rate != output_rate)) { in Convert()
110 if (inhdr.sample_rate == outhdr.sample_rate) { in Convert()
116 inbuf->SetHeader(outhdr); in Convert()
122 length += outhdr.Samples_to_Time(i); in Convert()
128 if (err = outbuf->SetHeader(outhdr)) { in Convert()
/illumos-gate/usr/src/cmd/audio/include/
H A DAudioTypeChannel.h59 AudioHdr outhdr); // target header
H A DAudioTypeMux.h57 AudioHdr outhdr); // target header
H A DAudioTypeConvert.h60 AudioHdr outhdr) = 0; // target header
H A DAudioTypeG72X.h62 AudioHdr outhdr); // target header
H A DAudioTypeSampleRate.h61 AudioHdr outhdr); // target header
H A DAudioTypePcm.h113 AudioHdr outhdr); // target header