Lines Matching refs:codec_priority
51 btav_a2dp_codec_priority_t codec_priority) { in init_btav_a2dp_codec_config() argument
54 codec_config->codec_priority = codec_priority; in init_btav_a2dp_codec_config()
59 btav_a2dp_codec_priority_t codec_priority) in A2dpCodecConfig() argument
62 default_codec_priority_(codec_priority) { in A2dpCodecConfig()
63 setCodecPriority(codec_priority); in A2dpCodecConfig()
85 btav_a2dp_codec_priority_t codec_priority) { in setCodecPriority() argument
86 if (codec_priority == BTAV_A2DP_CODEC_PRIORITY_DEFAULT) { in setCodecPriority()
90 codec_priority_ = codec_priority; in setCodecPriority()
92 codec_config_.codec_priority = codec_priority_; in setCodecPriority()
103 codec_config_.codec_priority = codec_priority_; in setDefaultCodecPriority()
108 btav_a2dp_codec_priority_t codec_priority) { in createCodec() argument
114 codec_config = new A2dpCodecConfigSbcSource(codec_priority); in createCodec()
117 codec_config = new A2dpCodecConfigSbcSink(codec_priority); in createCodec()
120 codec_config = new A2dpCodecConfigAacSource(codec_priority); in createCodec()
123 codec_config = new A2dpCodecConfigAacSink(codec_priority); in createCodec()
126 codec_config = new A2dpCodecConfigAptx(codec_priority); in createCodec()
129 codec_config = new A2dpCodecConfigAptxHd(codec_priority); in createCodec()
132 codec_config = new A2dpCodecConfigLdacSource(codec_priority); in createCodec()
135 codec_config = new A2dpCodecConfigLdacSink(codec_priority); in createCodec()
321 (codec_config.codec_priority == BTAV_A2DP_CODEC_PRIORITY_DEFAULT) && in isCodecConfigEmpty()
542 std::make_pair(config.codec_type, config.codec_priority)); in A2dpCodecs()
601 btav_a2dp_codec_priority_t codec_priority = in init() local
605 codec_priority = cp_iter->second; in init()
611 codec_priority = BTAV_A2DP_CODEC_PRIORITY_DISABLED; in init()
615 A2dpCodecConfig::createCodec(codec_index, codec_priority); in init()
618 if (codec_priority != BTAV_A2DP_CODEC_PRIORITY_DEFAULT) { in init()
620 codec_config->name().c_str(), codec_priority); in init()
761 btav_a2dp_codec_priority_t new_priority = codec_user_config.codec_priority; in setCodecUserConfig()