Home
last modified time | relevance | path

Searched refs:sbc_cap (Results 1 – 4 of 4) sorted by relevance

/external/bluetooth/bluez/audio/
Dunix.c504 struct sbc_codec_cap *sbc_cap = (void *) codec_cap; in a2dp_append_codec() local
512 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 …]
Da2dp.c291 struct sbc_codec_cap *sbc_cap; in sbc_setconf_ind() local
319 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() local
359 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 …]
Dsource.c427 struct sbc_codec_cap sbc_cap; in select_capabilities() local
433 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()
Dsink.c460 struct sbc_codec_cap sbc_cap; in select_capabilities() local
466 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()