Lines Matching refs:sample_rate

755     result->sample_rate |= BTAV_A2DP_CODEC_SAMPLE_RATE_44100;  in build_codec_config()
757 result->sample_rate |= BTAV_A2DP_CODEC_SAMPLE_RATE_48000; in build_codec_config()
759 result->sample_rate |= BTAV_A2DP_CODEC_SAMPLE_RATE_88200; in build_codec_config()
761 result->sample_rate |= BTAV_A2DP_CODEC_SAMPLE_RATE_96000; in build_codec_config()
779 codec_local_capability_.sample_rate |= BTAV_A2DP_CODEC_SAMPLE_RATE_44100; in A2dpCodecConfigAacSource()
782 codec_local_capability_.sample_rate |= BTAV_A2DP_CODEC_SAMPLE_RATE_48000; in A2dpCodecConfigAacSource()
785 codec_local_capability_.sample_rate |= BTAV_A2DP_CODEC_SAMPLE_RATE_88200; in A2dpCodecConfigAacSource()
788 codec_local_capability_.sample_rate |= BTAV_A2DP_CODEC_SAMPLE_RATE_96000; in A2dpCodecConfigAacSource()
826 p_codec_config->sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_96000; in select_best_sample_rate()
831 p_codec_config->sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_88200; in select_best_sample_rate()
836 p_codec_config->sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_48000; in select_best_sample_rate()
841 p_codec_config->sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_44100; in select_best_sample_rate()
856 switch (p_codec_audio_config->sample_rate) { in select_audio_sample_rate()
860 p_codec_config->sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_44100; in select_audio_sample_rate()
867 p_codec_config->sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_48000; in select_audio_sample_rate()
874 p_codec_config->sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_88200; in select_audio_sample_rate()
881 p_codec_config->sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_96000; in select_audio_sample_rate()
1089 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig()
1090 switch (codec_user_config_.sample_rate) { in setCodecConfig()
1094 codec_capability_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1095 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1101 codec_capability_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1102 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1108 codec_capability_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1109 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1115 codec_capability_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1116 codec_config_.sample_rate = codec_user_config_.sample_rate; in setCodecConfig()
1124 codec_capability_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig()
1125 codec_config_.sample_rate = BTAV_A2DP_CODEC_SAMPLE_RATE_NONE; in setCodecConfig()
1133 codec_selectable_capability_.sample_rate |= in setCodecConfig()
1137 codec_selectable_capability_.sample_rate |= in setCodecConfig()
1141 codec_selectable_capability_.sample_rate |= in setCodecConfig()
1145 codec_selectable_capability_.sample_rate |= in setCodecConfig()
1149 if (codec_config_.sample_rate != BTAV_A2DP_CODEC_SAMPLE_RATE_NONE) break; in setCodecConfig()
1153 codec_capability_.sample_rate |= BTAV_A2DP_CODEC_SAMPLE_RATE_44100; in setCodecConfig()
1155 codec_capability_.sample_rate |= BTAV_A2DP_CODEC_SAMPLE_RATE_48000; in setCodecConfig()
1157 codec_capability_.sample_rate |= BTAV_A2DP_CODEC_SAMPLE_RATE_88200; in setCodecConfig()
1159 codec_capability_.sample_rate |= BTAV_A2DP_CODEC_SAMPLE_RATE_96000; in setCodecConfig()
1180 if (codec_config_.sample_rate == BTAV_A2DP_CODEC_SAMPLE_RATE_NONE) { in setCodecConfig()
1443 codec_selectable_capability_.sample_rate |= in setPeerCodecCapabilities()
1447 codec_selectable_capability_.sample_rate |= in setPeerCodecCapabilities()
1451 codec_selectable_capability_.sample_rate |= in setPeerCodecCapabilities()
1455 codec_selectable_capability_.sample_rate |= in setPeerCodecCapabilities()