Lines Matching defs:frame_length
44 size_t codesize, frame_length; /* SBC Codesize, frame_length. We simply cache those values here */
259 sbc_info->frame_length = sbc_get_frame_length(&sbc_info->sbc);
283 size_t bitrate = sbc_info.frame_length * 8 * sample_spec.rate / (sbc_info.nr_subbands * sbc_info.nr_blocks);
677 pa_log_info("SBC parameters: allocation=%s, subbands=%u, blocks=%u, mode=%s bitpool=%u codesize=%u frame_length=%u",
682 sbc_info->sbc.bitpool, (unsigned)sbc_info->codesize, (unsigned)sbc_info->frame_length);
703 sbc_info->frame_length = sbc_get_frame_length(&sbc_info->sbc);
728 size_t frame_count = (link_mtu - rtp_size) / sbc_info->frame_length;
738 pa_log_warn("SBC packet size %lu is larger than link MTU %lu", sbc_info->frame_length + rtp_size, link_mtu);
752 return (input_size / sbc_info->codesize) * sbc_info->frame_length + rtp_size;
825 pa_assert_fp((size_t) written == sbc_info->frame_length);
906 sbc_info->frame_length = sbc_get_frame_length(&sbc_info->sbc);
909 pa_assert_fp((size_t) decoded == sbc_info->frame_length);