Lines Matching refs:codec_config_
1025 btav_a2dp_codec_config_t saved_codec_config = codec_config_; in setCodecConfig()
1061 codec_config_.codec_specific_1 = in setCodecConfig()
1064 codec_config_.codec_specific_1 = in setCodecConfig()
1089 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig()
1095 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1102 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1109 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1116 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1125 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig()
1149 if (codec_config_.sample_rate != BTAV_A2DP_CODEC_SAMPLE_RATE_NONE) break; in setCodecConfig()
1163 &result_config_cie, &codec_config_)) { in setCodecConfig()
1170 &result_config_cie, &codec_config_)) { in setCodecConfig()
1176 &codec_config_)) { in setCodecConfig()
1180 if (codec_config_.sample_rate == BTAV_A2DP_CODEC_SAMPLE_RATE_NONE) { in setCodecConfig()
1194 codec_config_.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; in setCodecConfig()
1200 codec_config_.bits_per_sample = codec_user_config_.bits_per_sample; in setCodecConfig()
1207 codec_config_.bits_per_sample = codec_user_config_.bits_per_sample; in setCodecConfig()
1214 codec_config_.bits_per_sample = codec_user_config_.bits_per_sample; in setCodecConfig()
1220 codec_config_.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; in setCodecConfig()
1230 if (codec_config_.bits_per_sample != BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE) in setCodecConfig()
1239 &result_config_cie, &codec_config_)) { in setCodecConfig()
1245 &result_config_cie, &codec_config_)) { in setCodecConfig()
1251 &result_config_cie, &codec_config_)) { in setCodecConfig()
1255 if (codec_config_.bits_per_sample == BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE) { in setCodecConfig()
1268 codec_config_.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in setCodecConfig()
1274 codec_config_.channel_mode = codec_user_config_.channel_mode; in setCodecConfig()
1281 codec_config_.channel_mode = codec_user_config_.channel_mode; in setCodecConfig()
1286 codec_config_.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in setCodecConfig()
1302 if (codec_config_.channel_mode != BTAV_A2DP_CODEC_CHANNEL_MODE_NONE) break; in setCodecConfig()
1313 &result_config_cie, &codec_config_)) { in setCodecConfig()
1320 &result_config_cie, &codec_config_)) { in setCodecConfig()
1326 &codec_config_)) { in setCodecConfig()
1330 if (codec_config_.channel_mode == BTAV_A2DP_CODEC_CHANNEL_MODE_NONE) { in setCodecConfig()
1360 codec_config_.codec_specific_1 = codec_user_config_.codec_specific_1; in setCodecConfig()
1363 codec_config_.codec_specific_1 = in setCodecConfig()
1369 codec_config_.codec_specific_1 = in setCodecConfig()
1374 codec_config_.codec_specific_2 = codec_user_config_.codec_specific_2; in setCodecConfig()
1376 codec_config_.codec_specific_3 = codec_user_config_.codec_specific_3; in setCodecConfig()
1378 codec_config_.codec_specific_4 = codec_user_config_.codec_specific_4; in setCodecConfig()
1402 codec_config_ = saved_codec_config; in setCodecConfig()