Lines Matching refs:codecs
50 uint16_t* render_delay, uint16_t* preparation_delay, uint16_t* codecs);
646 &hearingDevice->preparation_delay, &hearingDevice->codecs)) { in OnServiceSearchComplete()
780 uint16_t codecs; in OnReadOnlyPropertiesRead() local
781 STREAM_TO_UINT16(codecs, p); in OnReadOnlyPropertiesRead()
782 hearingDevice->codecs = codecs; in OnReadOnlyPropertiesRead()
783 VLOG(2) << __func__ << " supported codecs: " << loghex(codecs); in OnReadOnlyPropertiesRead()
784 if (codecs & (1 << CODEC_G722_16KHZ)) VLOG(2) << "\tG722@16kHz"; in OnReadOnlyPropertiesRead()
785 if (codecs & (1 << CODEC_G722_24KHZ)) VLOG(2) << "\tG722@24kHz"; in OnReadOnlyPropertiesRead()
787 if (!(codecs & (1 << CODEC_G722_16KHZ))) { in OnReadOnlyPropertiesRead()
817 uint16_t codecs = hearingDevice.codecs; in ChooseCodec() local
822 codecs &= device.codecs; in ChooseCodec()
826 if ((codecs & (1 << CODEC_G722_24KHZ)) && in ChooseCodec()
830 } else if (codecs & (1 << CODEC_G722_16KHZ)) { in ChooseCodec()
979 uint16_t codecs = hearingDevice.codecs; in StartSendingAudio() local
984 codecs &= device.codecs; in StartSendingAudio()