Lines Matching refs:codecs
50 uint16_t* render_delay, uint16_t* preparation_delay, uint16_t* codecs);
653 &hearingDevice->preparation_delay, &hearingDevice->codecs)) { in OnServiceSearchComplete()
787 uint16_t codecs; in OnReadOnlyPropertiesRead() local
788 STREAM_TO_UINT16(codecs, p); in OnReadOnlyPropertiesRead()
789 hearingDevice->codecs = codecs; in OnReadOnlyPropertiesRead()
790 VLOG(2) << __func__ << " supported codecs: " << loghex(codecs); in OnReadOnlyPropertiesRead()
791 if (codecs & (1 << CODEC_G722_16KHZ)) VLOG(2) << "\tG722@16kHz"; in OnReadOnlyPropertiesRead()
792 if (codecs & (1 << CODEC_G722_24KHZ)) VLOG(2) << "\tG722@24kHz"; in OnReadOnlyPropertiesRead()
794 if (!(codecs & (1 << CODEC_G722_16KHZ))) { in OnReadOnlyPropertiesRead()
824 uint16_t codecs = hearingDevice.codecs; in ChooseCodec() local
829 codecs &= device.codecs; in ChooseCodec()
833 if ((codecs & (1 << CODEC_G722_24KHZ)) && in ChooseCodec()
837 } else if (codecs & (1 << CODEC_G722_16KHZ)) { in ChooseCodec()
983 uint16_t codecs = hearingDevice.codecs; in StartSendingAudio() local
988 codecs &= device.codecs; in StartSendingAudio()