Lines Matching refs:sbc_cap
291 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()
373 sbc_cap.channel_mode = ( SBC_CHANNEL_MODE_JOINT_STEREO | in sbc_getcap_ind()
378 sbc_cap.block_length = ( SBC_BLOCK_LENGTH_16 | in sbc_getcap_ind()
383 sbc_cap.subbands = ( SBC_SUBBANDS_8 | SBC_SUBBANDS_4 ); in sbc_getcap_ind()
385 sbc_cap.allocation_method = ( SBC_ALLOCATION_LOUDNESS | in sbc_getcap_ind()
388 sbc_cap.min_bitpool = MIN_BITPOOL; in sbc_getcap_ind()
389 sbc_cap.max_bitpool = MAX_BITPOOL; in sbc_getcap_ind()
391 media_codec = avdtp_service_cap_new(AVDTP_MEDIA_CODEC, &sbc_cap, in sbc_getcap_ind()
392 sizeof(sbc_cap)); in sbc_getcap_ind()