Lines Matching refs:sbc_cie
461 tA2DP_SBC_CIE sbc_cie; in A2DP_GetTrackSampleRateSbc() local
463 tA2DP_STATUS a2dp_status = A2DP_ParseInfoSbc(&sbc_cie, p_codec_info, false); in A2DP_GetTrackSampleRateSbc()
469 switch (sbc_cie.samp_freq) { in A2DP_GetTrackSampleRateSbc()
486 tA2DP_SBC_CIE sbc_cie; in A2DP_GetTrackBitsPerSampleSbc() local
488 tA2DP_STATUS a2dp_status = A2DP_ParseInfoSbc(&sbc_cie, p_codec_info, false); in A2DP_GetTrackBitsPerSampleSbc()
499 tA2DP_SBC_CIE sbc_cie; in A2DP_GetTrackChannelCountSbc() local
501 tA2DP_STATUS a2dp_status = A2DP_ParseInfoSbc(&sbc_cie, p_codec_info, false); in A2DP_GetTrackChannelCountSbc()
507 switch (sbc_cie.ch_mode) { in A2DP_GetTrackChannelCountSbc()
522 tA2DP_SBC_CIE sbc_cie; in A2DP_GetNumberOfSubbandsSbc() local
524 tA2DP_STATUS a2dp_status = A2DP_ParseInfoSbc(&sbc_cie, p_codec_info, false); in A2DP_GetNumberOfSubbandsSbc()
530 switch (sbc_cie.num_subbands) { in A2DP_GetNumberOfSubbandsSbc()
543 tA2DP_SBC_CIE sbc_cie; in A2DP_GetNumberOfBlocksSbc() local
545 tA2DP_STATUS a2dp_status = A2DP_ParseInfoSbc(&sbc_cie, p_codec_info, false); in A2DP_GetNumberOfBlocksSbc()
551 switch (sbc_cie.block_len) { in A2DP_GetNumberOfBlocksSbc()
568 tA2DP_SBC_CIE sbc_cie; in A2DP_GetAllocationMethodCodeSbc() local
570 tA2DP_STATUS a2dp_status = A2DP_ParseInfoSbc(&sbc_cie, p_codec_info, false); in A2DP_GetAllocationMethodCodeSbc()
576 switch (sbc_cie.alloc_method) { in A2DP_GetAllocationMethodCodeSbc()
589 tA2DP_SBC_CIE sbc_cie; in A2DP_GetChannelModeCodeSbc() local
591 tA2DP_STATUS a2dp_status = A2DP_ParseInfoSbc(&sbc_cie, p_codec_info, false); in A2DP_GetChannelModeCodeSbc()
597 switch (sbc_cie.ch_mode) { in A2DP_GetChannelModeCodeSbc()
614 tA2DP_SBC_CIE sbc_cie; in A2DP_GetSamplingFrequencyCodeSbc() local
616 tA2DP_STATUS a2dp_status = A2DP_ParseInfoSbc(&sbc_cie, p_codec_info, false); in A2DP_GetSamplingFrequencyCodeSbc()
622 switch (sbc_cie.samp_freq) { in A2DP_GetSamplingFrequencyCodeSbc()
639 tA2DP_SBC_CIE sbc_cie; in A2DP_GetMinBitpoolSbc() local
641 tA2DP_STATUS a2dp_status = A2DP_ParseInfoSbc(&sbc_cie, p_codec_info, true); in A2DP_GetMinBitpoolSbc()
647 return sbc_cie.min_bitpool; in A2DP_GetMinBitpoolSbc()
651 tA2DP_SBC_CIE sbc_cie; in A2DP_GetMaxBitpoolSbc() local
653 tA2DP_STATUS a2dp_status = A2DP_ParseInfoSbc(&sbc_cie, p_codec_info, true); in A2DP_GetMaxBitpoolSbc()
659 return sbc_cie.max_bitpool; in A2DP_GetMaxBitpoolSbc()
664 tA2DP_SBC_CIE sbc_cie; in A2DP_GetSinkTrackChannelTypeSbc() local
666 tA2DP_STATUS a2dp_status = A2DP_ParseInfoSbc(&sbc_cie, p_codec_info, false); in A2DP_GetSinkTrackChannelTypeSbc()
672 switch (sbc_cie.ch_mode) { in A2DP_GetSinkTrackChannelTypeSbc()
712 tA2DP_SBC_CIE sbc_cie; in A2DP_CodecInfoStringSbc() local
714 a2dp_status = A2DP_ParseInfoSbc(&sbc_cie, p_codec_info, true); in A2DP_CodecInfoStringSbc()
724 AppendField(&field, (sbc_cie.samp_freq == 0), "NONE"); in A2DP_CodecInfoStringSbc()
725 AppendField(&field, (sbc_cie.samp_freq & A2DP_SBC_IE_SAMP_FREQ_16), "16000"); in A2DP_CodecInfoStringSbc()
726 AppendField(&field, (sbc_cie.samp_freq & A2DP_SBC_IE_SAMP_FREQ_32), "32000"); in A2DP_CodecInfoStringSbc()
727 AppendField(&field, (sbc_cie.samp_freq & A2DP_SBC_IE_SAMP_FREQ_44), "44100"); in A2DP_CodecInfoStringSbc()
728 AppendField(&field, (sbc_cie.samp_freq & A2DP_SBC_IE_SAMP_FREQ_48), "48000"); in A2DP_CodecInfoStringSbc()
729 res << "\tsamp_freq: " << field << " (" << loghex(sbc_cie.samp_freq) << ")\n"; in A2DP_CodecInfoStringSbc()
733 AppendField(&field, (sbc_cie.ch_mode == 0), "NONE"); in A2DP_CodecInfoStringSbc()
734 AppendField(&field, (sbc_cie.ch_mode & A2DP_SBC_IE_CH_MD_MONO), "Mono"); in A2DP_CodecInfoStringSbc()
735 AppendField(&field, (sbc_cie.ch_mode & A2DP_SBC_IE_CH_MD_DUAL), "Dual"); in A2DP_CodecInfoStringSbc()
736 AppendField(&field, (sbc_cie.ch_mode & A2DP_SBC_IE_CH_MD_STEREO), "Stereo"); in A2DP_CodecInfoStringSbc()
737 AppendField(&field, (sbc_cie.ch_mode & A2DP_SBC_IE_CH_MD_JOINT), "Joint"); in A2DP_CodecInfoStringSbc()
738 res << "\tch_mode: " << field << " (" << loghex(sbc_cie.ch_mode) << ")\n"; in A2DP_CodecInfoStringSbc()
742 AppendField(&field, (sbc_cie.block_len == 0), "NONE"); in A2DP_CodecInfoStringSbc()
743 AppendField(&field, (sbc_cie.block_len & A2DP_SBC_IE_BLOCKS_4), "4"); in A2DP_CodecInfoStringSbc()
744 AppendField(&field, (sbc_cie.block_len & A2DP_SBC_IE_BLOCKS_8), "8"); in A2DP_CodecInfoStringSbc()
745 AppendField(&field, (sbc_cie.block_len & A2DP_SBC_IE_BLOCKS_12), "12"); in A2DP_CodecInfoStringSbc()
746 AppendField(&field, (sbc_cie.block_len & A2DP_SBC_IE_BLOCKS_16), "16"); in A2DP_CodecInfoStringSbc()
747 res << "\tblock_len: " << field << " (" << loghex(sbc_cie.block_len) << ")\n"; in A2DP_CodecInfoStringSbc()
751 AppendField(&field, (sbc_cie.num_subbands == 0), "NONE"); in A2DP_CodecInfoStringSbc()
752 AppendField(&field, (sbc_cie.num_subbands & A2DP_SBC_IE_SUBBAND_4), "4"); in A2DP_CodecInfoStringSbc()
753 AppendField(&field, (sbc_cie.num_subbands & A2DP_SBC_IE_SUBBAND_8), "8"); in A2DP_CodecInfoStringSbc()
754 res << "\tnum_subbands: " << field << " (" << loghex(sbc_cie.num_subbands) in A2DP_CodecInfoStringSbc()
759 AppendField(&field, (sbc_cie.alloc_method == 0), "NONE"); in A2DP_CodecInfoStringSbc()
760 AppendField(&field, (sbc_cie.alloc_method & A2DP_SBC_IE_ALLOC_MD_S), "SNR"); in A2DP_CodecInfoStringSbc()
761 AppendField(&field, (sbc_cie.alloc_method & A2DP_SBC_IE_ALLOC_MD_L), in A2DP_CodecInfoStringSbc()
763 res << "\talloc_method: " << field << " (" << loghex(sbc_cie.alloc_method) in A2DP_CodecInfoStringSbc()
767 res << "\tBit pool Min: " << std::to_string(sbc_cie.min_bitpool) in A2DP_CodecInfoStringSbc()
768 << " Max: " << std::to_string(sbc_cie.max_bitpool); in A2DP_CodecInfoStringSbc()