Searched refs:sbc_cap (Results 1 – 4 of 4) sorted by relevance
504 struct sbc_codec_cap *sbc_cap = (void *) codec_cap; in a2dp_append_codec() local512 sbc->channel_mode = sbc_cap->channel_mode; in a2dp_append_codec()513 sbc->frequency = sbc_cap->frequency; in a2dp_append_codec()514 sbc->allocation_method = sbc_cap->allocation_method; in a2dp_append_codec()515 sbc->subbands = sbc_cap->subbands; in a2dp_append_codec()516 sbc->block_length = sbc_cap->block_length; in a2dp_append_codec()517 sbc->min_bitpool = sbc_cap->min_bitpool; in a2dp_append_codec()518 sbc->max_bitpool = sbc_cap->max_bitpool; in a2dp_append_codec()520 print_sbc(sbc_cap); in a2dp_append_codec()1423 struct sbc_codec_cap sbc_cap; in handle_a2dp_transport() local[all …]
291 struct sbc_codec_cap *sbc_cap; in sbc_setconf_ind() local319 sbc_cap = (void *) codec_cap; in sbc_setconf_ind()321 if (sbc_cap->min_bitpool < MIN_BITPOOL || in sbc_setconf_ind()322 sbc_cap->max_bitpool > MAX_BITPOOL) { in sbc_setconf_ind()345 struct sbc_codec_cap sbc_cap; in sbc_getcap_ind() local359 memset(&sbc_cap, 0, sizeof(struct sbc_codec_cap)); in sbc_getcap_ind()361 sbc_cap.cap.media_type = AVDTP_MEDIA_TYPE_AUDIO; in sbc_getcap_ind()362 sbc_cap.cap.media_codec_type = A2DP_CODEC_SBC; in sbc_getcap_ind()365 sbc_cap.frequency = SBC_SAMPLING_FREQ_44100; in sbc_getcap_ind()367 sbc_cap.frequency = ( SBC_SAMPLING_FREQ_48000 | in sbc_getcap_ind()[all …]
427 struct sbc_codec_cap sbc_cap; in select_capabilities() local433 select_sbc_params(&sbc_cap, (struct sbc_codec_cap *) media_codec->data); in select_capabilities()440 media_codec = avdtp_service_cap_new(AVDTP_MEDIA_CODEC, &sbc_cap, in select_capabilities()441 sizeof(sbc_cap)); in select_capabilities()
460 struct sbc_codec_cap sbc_cap; in select_capabilities() local466 select_sbc_params(&sbc_cap, (struct sbc_codec_cap *) media_codec->data); in select_capabilities()473 media_codec = avdtp_service_cap_new(AVDTP_MEDIA_CODEC, &sbc_cap, in select_capabilities()474 sizeof(sbc_cap)); in select_capabilities()