Lines Matching refs:ohdr
70 AudioHdr ohdr)
81 ((ohdr.encoding != ULAW) &&
82 (ohdr.encoding != ALAW) &&
83 (ohdr.encoding != LINEAR) &&
84 (ohdr.encoding != FLOAT) &&
85 (ohdr.encoding != G721) &&
86 (ohdr.encoding != G723))) {
88 enc2 = ohdr.EncodingString();
101 AudioHdr ohdr,
107 if ((ihdr == ohdr) &&
557 AudioHdr ohdr;
562 ohdr = ofp->GetHeader();
566 while (((ihdr != ohdr) || (bufs != 1)) && !err) {
570 if (IS_MONO(ohdr)) {
592 ohdr.encoding, ohdr.bytes_per_unit,
603 if (RATE_CONV(ihdr, ohdr) ||
604 (ENC_CONV(ihdr, ohdr) &&
605 (!IS_PCM(ihdr) || !IS_PCM(ohdr)))) {
613 if (RATE_CONV(ihdr, ohdr)) {
617 ohdr.encoding, ohdr.bytes_per_unit,
621 ohdr.sample_rate, bufs);
626 if (ENC_CONV(ihdr, ohdr)) {
631 ohdr.encoding, ohdr.bytes_per_unit,
633 } else if (IS_PCM(ohdr)) {
636 ohdr.encoding, ohdr.bytes_per_unit,
641 ohdr.encoding, ohdr.bytes_per_unit,
654 if (!IS_MONO(ohdr)) {
657 ihdr, ohdr.channels, bufs);
680 AudioHdr ohdr;
689 ohdr = ofp->GetHeader();
694 msg1 = ohdr.FormatString();
701 if ((ohdr.sample_rate < 8000) || (ohdr.sample_rate > 48000)) {
702 msg1 = ohdr.RateString();
707 if (ohdr.channels > 2) {
708 msg1 = ohdr.ChannelString();
716 msg2 = ohdr.FormatString();
733 if (cvtlen > ohdr.Bytes_to_Time(CVTMAXBUF * 4))
734 cvtlen = ohdr.Bytes_to_Time(CVTMAXBUF * 4);