Lines Matching refs:codecs
59 uint16_t* render_delay, uint16_t* preparation_delay, uint16_t* codecs);
650 &hearingDevice->preparation_delay, &hearingDevice->codecs)) { in OnServiceSearchComplete()
784 uint16_t codecs; in OnReadOnlyPropertiesRead() local
785 STREAM_TO_UINT16(codecs, p); in OnReadOnlyPropertiesRead()
786 hearingDevice->codecs = codecs; in OnReadOnlyPropertiesRead()
787 VLOG(2) << __func__ << " supported codecs: " << loghex(codecs); in OnReadOnlyPropertiesRead()
788 if (codecs & (1 << CODEC_G722_16KHZ)) VLOG(2) << "\tG722@16kHz"; in OnReadOnlyPropertiesRead()
789 if (codecs & (1 << CODEC_G722_24KHZ)) VLOG(2) << "\tG722@24kHz"; in OnReadOnlyPropertiesRead()
791 if (!(codecs & (1 << CODEC_G722_16KHZ))) { in OnReadOnlyPropertiesRead()
821 uint16_t codecs = hearingDevice.codecs; in ChooseCodec() local
826 codecs &= device.codecs; in ChooseCodec()
830 if ((codecs & (1 << CODEC_G722_24KHZ)) && in ChooseCodec()
834 } else if (codecs & (1 << CODEC_G722_16KHZ)) { in ChooseCodec()
979 uint16_t codecs = hearingDevice.codecs; in StartSendingAudio() local
984 codecs &= device.codecs; in StartSendingAudio()