Lines Matching refs:codec_config_
1001 btav_a2dp_codec_config_t saved_codec_config = codec_config_; in setCodecConfig()
1057 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig()
1063 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1070 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1077 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1084 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1093 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig()
1117 if (codec_config_.sample_rate != BTAV_A2DP_CODEC_SAMPLE_RATE_NONE) break; in setCodecConfig()
1131 &result_config_cie, &codec_config_)) { in setCodecConfig()
1138 &result_config_cie, &codec_config_)) { in setCodecConfig()
1144 &codec_config_)) { in setCodecConfig()
1148 if (codec_config_.sample_rate == BTAV_A2DP_CODEC_SAMPLE_RATE_NONE) { in setCodecConfig()
1162 codec_config_.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; in setCodecConfig()
1168 codec_config_.bits_per_sample = codec_user_config_.bits_per_sample; in setCodecConfig()
1175 codec_config_.bits_per_sample = codec_user_config_.bits_per_sample; in setCodecConfig()
1182 codec_config_.bits_per_sample = codec_user_config_.bits_per_sample; in setCodecConfig()
1188 codec_config_.bits_per_sample = BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE; in setCodecConfig()
1198 if (codec_config_.bits_per_sample != BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE) in setCodecConfig()
1207 &result_config_cie, &codec_config_)) { in setCodecConfig()
1213 &result_config_cie, &codec_config_)) { in setCodecConfig()
1219 &result_config_cie, &codec_config_)) { in setCodecConfig()
1223 if (codec_config_.bits_per_sample == BTAV_A2DP_CODEC_BITS_PER_SAMPLE_NONE) { in setCodecConfig()
1236 codec_config_.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in setCodecConfig()
1242 codec_config_.channel_mode = codec_user_config_.channel_mode; in setCodecConfig()
1249 codec_config_.channel_mode = codec_user_config_.channel_mode; in setCodecConfig()
1254 codec_config_.channel_mode = BTAV_A2DP_CODEC_CHANNEL_MODE_NONE; in setCodecConfig()
1270 if (codec_config_.channel_mode != BTAV_A2DP_CODEC_CHANNEL_MODE_NONE) break; in setCodecConfig()
1281 &result_config_cie, &codec_config_)) { in setCodecConfig()
1288 &result_config_cie, &codec_config_)) { in setCodecConfig()
1294 &codec_config_)) { in setCodecConfig()
1298 if (codec_config_.channel_mode == BTAV_A2DP_CODEC_CHANNEL_MODE_NONE) { in setCodecConfig()
1316 codec_config_.codec_specific_1 = codec_user_config_.codec_specific_1; in setCodecConfig()
1318 codec_config_.codec_specific_2 = codec_user_config_.codec_specific_2; in setCodecConfig()
1320 codec_config_.codec_specific_3 = codec_user_config_.codec_specific_3; in setCodecConfig()
1322 codec_config_.codec_specific_4 = codec_user_config_.codec_specific_4; in setCodecConfig()
1341 codec_config_ = saved_codec_config; in setCodecConfig()