Searched refs:outhdr (Results 1 – 11 of 11) sorted by relevance
98 AudioHdr outhdr) // target header in Convert() argument119 if ((err = inhdr.Validate()) || (err = outhdr.Validate())) { in Convert()123 if (!CanConvert(inhdr) || !CanConvert(outhdr) || in Convert()124 (inhdr.sample_rate != outhdr.sample_rate) || in Convert()125 (inhdr.channels != outhdr.channels)) in Convert()129 if ((inhdr.encoding == outhdr.encoding) && in Convert()130 (inhdr.bytes_per_unit == outhdr.bytes_per_unit)) { in Convert()135 pad = outhdr.Samples_to_Time( in Convert()136 4 * outhdr.bytes_per_unit * outhdr.channels); in Convert()142 if (err = outbuf->SetHeader(outhdr)) { in Convert()[all …]
212 AudioHdr outhdr) // target header in Convert() argument231 if ((err = inhdr.Validate()) || (err = outhdr.Validate())) in Convert()233 if ((inhdr.sample_rate != outhdr.sample_rate) || in Convert()234 (inhdr.samples_per_unit != outhdr.samples_per_unit) || in Convert()236 (inhdr.channels != outhdr.channels)) in Convert()242 (outhdr.bytes_per_unit <= inhdr.bytes_per_unit)) { in Convert()249 if (err = outbuf->SetHeader(outhdr)) { in Convert()280 switch (outhdr.encoding) { in Convert()284 switch (outhdr.bytes_per_unit) { in Convert()292 switch (outhdr.bytes_per_unit) { in Convert()[all …]
68 AudioHdr outhdr) // target header in Convert() argument86 channels = outhdr.channels; in Convert()99 if ((inhdr.sample_rate != outhdr.sample_rate) || in Convert()100 (inhdr.encoding != outhdr.encoding) || in Convert()101 (inhdr.samples_per_unit != outhdr.samples_per_unit) || in Convert()102 (inhdr.bytes_per_unit != outhdr.bytes_per_unit)) in Convert()104 if (inhdr.channels == outhdr.channels) in Convert()106 if ((inhdr.channels != 1) && (outhdr.channels != 1)) in Convert()131 if (err = multibuf[i]->SetHeader(outhdr)) { in Convert()174 if (err = outbuf->SetHeader(outhdr)) { in Convert()[all …]
69 AudioHdr outhdr) // target header in Convert() argument94 if ((inhdr.sample_rate != outhdr.sample_rate) || in Convert()95 (inhdr.encoding != outhdr.encoding) || in Convert()96 (inhdr.samples_per_unit != outhdr.samples_per_unit) || in Convert()97 (inhdr.bytes_per_unit != outhdr.bytes_per_unit)) in Convert()99 if (inhdr.channels == outhdr.channels) in Convert()101 if ((inhdr.channels != 1) && (outhdr.channels != 1)) in Convert()108 newhdr.channels = outhdr.channels; in Convert()
76 AudioHdr outhdr) // target header in Convert() argument95 if ((err = inhdr.Validate()) || (err = outhdr.Validate())) { in Convert()103 (outhdr.sample_rate != output_rate)) { in Convert()108 if (inhdr.sample_rate == outhdr.sample_rate) { in Convert()114 inbuf->SetHeader(outhdr); in Convert()120 length += outhdr.Samples_to_Time(i); in Convert()126 if (err = outbuf->SetHeader(outhdr)) { in Convert()
61 AudioHdr outhdr); // target header
59 AudioHdr outhdr); // target header
62 AudioHdr outhdr) = 0; // target header
64 AudioHdr outhdr); // target header
63 AudioHdr outhdr); // target header
115 AudioHdr outhdr); // target header