Lines Matching refs:sample_rate
855 result->sample_rate |= BTAV_A2DP_CODEC_SAMPLE_RATE_44100; in build_codec_config()
857 result->sample_rate |= BTAV_A2DP_CODEC_SAMPLE_RATE_48000; in build_codec_config()
876 codec_local_capability_.sample_rate |= BTAV_A2DP_CODEC_SAMPLE_RATE_44100; in A2dpCodecConfigSbcSource()
879 codec_local_capability_.sample_rate |= BTAV_A2DP_CODEC_SAMPLE_RATE_48000; in A2dpCodecConfigSbcSource()
922 p_codec_config->sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_48000; in select_best_sample_rate()
927 p_codec_config->sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_44100; in select_best_sample_rate()
942 switch (p_codec_audio_config->sample_rate) { in select_audio_sample_rate()
946 p_codec_config->sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_44100; in select_audio_sample_rate()
953 p_codec_config->sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_48000; in select_audio_sample_rate()
1140 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig()
1141 switch (codec_user_config_.sample_rate) { in setCodecConfig()
1145 codec_capability_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1146 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1152 codec_capability_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1153 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1163 codec_capability_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig()
1164 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig()
1172 codec_selectable_capability_.sample_rate |= in setCodecConfig()
1176 codec_selectable_capability_.sample_rate |= in setCodecConfig()
1180 if (codec_config_.sample_rate != BTAV_A2DP_CODEC_SAMPLE_RATE_NONE) break; in setCodecConfig()
1184 codec_capability_.sample_rate |= BTAV_A2DP_CODEC_SAMPLE_RATE_44100; in setCodecConfig()
1186 codec_capability_.sample_rate |= BTAV_A2DP_CODEC_SAMPLE_RATE_48000; in setCodecConfig()
1207 if (codec_config_.sample_rate == BTAV_A2DP_CODEC_SAMPLE_RATE_NONE) { in setCodecConfig()
1511 codec_selectable_capability_.sample_rate |= in setPeerCodecCapabilities()
1515 codec_selectable_capability_.sample_rate |= in setPeerCodecCapabilities()