• Home
  • Raw
  • Download

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()
470 switch (sbc_cie.samp_freq) { in A2DP_GetTrackSampleRateSbc()
487 tA2DP_SBC_CIE sbc_cie; in A2DP_GetTrackBitsPerSampleSbc() local
489 tA2DP_STATUS a2dp_status = A2DP_ParseInfoSbc(&sbc_cie, p_codec_info, false); in A2DP_GetTrackBitsPerSampleSbc()
501 tA2DP_SBC_CIE sbc_cie; in A2DP_GetTrackChannelCountSbc() local
503 tA2DP_STATUS a2dp_status = A2DP_ParseInfoSbc(&sbc_cie, p_codec_info, false); in A2DP_GetTrackChannelCountSbc()
510 switch (sbc_cie.ch_mode) { in A2DP_GetTrackChannelCountSbc()
525 tA2DP_SBC_CIE sbc_cie; in A2DP_GetNumberOfSubbandsSbc() local
527 tA2DP_STATUS a2dp_status = A2DP_ParseInfoSbc(&sbc_cie, p_codec_info, false); in A2DP_GetNumberOfSubbandsSbc()
534 switch (sbc_cie.num_subbands) { in A2DP_GetNumberOfSubbandsSbc()
547 tA2DP_SBC_CIE sbc_cie; in A2DP_GetNumberOfBlocksSbc() local
549 tA2DP_STATUS a2dp_status = A2DP_ParseInfoSbc(&sbc_cie, p_codec_info, false); in A2DP_GetNumberOfBlocksSbc()
556 switch (sbc_cie.block_len) { in A2DP_GetNumberOfBlocksSbc()
573 tA2DP_SBC_CIE sbc_cie; in A2DP_GetAllocationMethodCodeSbc() local
575 tA2DP_STATUS a2dp_status = A2DP_ParseInfoSbc(&sbc_cie, p_codec_info, false); in A2DP_GetAllocationMethodCodeSbc()
582 switch (sbc_cie.alloc_method) { in A2DP_GetAllocationMethodCodeSbc()
595 tA2DP_SBC_CIE sbc_cie; in A2DP_GetChannelModeCodeSbc() local
597 tA2DP_STATUS a2dp_status = A2DP_ParseInfoSbc(&sbc_cie, p_codec_info, false); in A2DP_GetChannelModeCodeSbc()
604 switch (sbc_cie.ch_mode) { in A2DP_GetChannelModeCodeSbc()
621 tA2DP_SBC_CIE sbc_cie; in A2DP_GetSamplingFrequencyCodeSbc() local
623 tA2DP_STATUS a2dp_status = A2DP_ParseInfoSbc(&sbc_cie, p_codec_info, false); in A2DP_GetSamplingFrequencyCodeSbc()
630 switch (sbc_cie.samp_freq) { in A2DP_GetSamplingFrequencyCodeSbc()
647 tA2DP_SBC_CIE sbc_cie; in A2DP_GetMinBitpoolSbc() local
649 tA2DP_STATUS a2dp_status = A2DP_ParseInfoSbc(&sbc_cie, p_codec_info, true); in A2DP_GetMinBitpoolSbc()
656 return sbc_cie.min_bitpool; in A2DP_GetMinBitpoolSbc()
660 tA2DP_SBC_CIE sbc_cie; in A2DP_GetMaxBitpoolSbc() local
662 tA2DP_STATUS a2dp_status = A2DP_ParseInfoSbc(&sbc_cie, p_codec_info, true); in A2DP_GetMaxBitpoolSbc()
669 return sbc_cie.max_bitpool; in A2DP_GetMaxBitpoolSbc()
674 tA2DP_SBC_CIE sbc_cie; in A2DP_GetSinkTrackChannelTypeSbc() local
676 tA2DP_STATUS a2dp_status = A2DP_ParseInfoSbc(&sbc_cie, p_codec_info, false); in A2DP_GetSinkTrackChannelTypeSbc()
683 switch (sbc_cie.ch_mode) { in A2DP_GetSinkTrackChannelTypeSbc()
720 tA2DP_SBC_CIE sbc_cie; in A2DP_CodecInfoStringSbc() local
722 a2dp_status = A2DP_ParseInfoSbc(&sbc_cie, p_codec_info, true); in A2DP_CodecInfoStringSbc()
732 AppendField(&field, (sbc_cie.samp_freq == 0), "NONE"); in A2DP_CodecInfoStringSbc()
733 AppendField(&field, (sbc_cie.samp_freq & A2DP_SBC_IE_SAMP_FREQ_16), "16000"); in A2DP_CodecInfoStringSbc()
734 AppendField(&field, (sbc_cie.samp_freq & A2DP_SBC_IE_SAMP_FREQ_32), "32000"); in A2DP_CodecInfoStringSbc()
735 AppendField(&field, (sbc_cie.samp_freq & A2DP_SBC_IE_SAMP_FREQ_44), "44100"); in A2DP_CodecInfoStringSbc()
736 AppendField(&field, (sbc_cie.samp_freq & A2DP_SBC_IE_SAMP_FREQ_48), "48000"); in A2DP_CodecInfoStringSbc()
737 res << "\tsamp_freq: " << field << " (" << loghex(sbc_cie.samp_freq) << ")\n"; in A2DP_CodecInfoStringSbc()
741 AppendField(&field, (sbc_cie.ch_mode == 0), "NONE"); in A2DP_CodecInfoStringSbc()
742 AppendField(&field, (sbc_cie.ch_mode & A2DP_SBC_IE_CH_MD_MONO), "Mono"); in A2DP_CodecInfoStringSbc()
743 AppendField(&field, (sbc_cie.ch_mode & A2DP_SBC_IE_CH_MD_DUAL), "Dual"); in A2DP_CodecInfoStringSbc()
744 AppendField(&field, (sbc_cie.ch_mode & A2DP_SBC_IE_CH_MD_STEREO), "Stereo"); in A2DP_CodecInfoStringSbc()
745 AppendField(&field, (sbc_cie.ch_mode & A2DP_SBC_IE_CH_MD_JOINT), "Joint"); in A2DP_CodecInfoStringSbc()
746 res << "\tch_mode: " << field << " (" << loghex(sbc_cie.ch_mode) << ")\n"; in A2DP_CodecInfoStringSbc()
750 AppendField(&field, (sbc_cie.block_len == 0), "NONE"); in A2DP_CodecInfoStringSbc()
751 AppendField(&field, (sbc_cie.block_len & A2DP_SBC_IE_BLOCKS_4), "4"); in A2DP_CodecInfoStringSbc()
752 AppendField(&field, (sbc_cie.block_len & A2DP_SBC_IE_BLOCKS_8), "8"); in A2DP_CodecInfoStringSbc()
753 AppendField(&field, (sbc_cie.block_len & A2DP_SBC_IE_BLOCKS_12), "12"); in A2DP_CodecInfoStringSbc()
754 AppendField(&field, (sbc_cie.block_len & A2DP_SBC_IE_BLOCKS_16), "16"); in A2DP_CodecInfoStringSbc()
755 res << "\tblock_len: " << field << " (" << loghex(sbc_cie.block_len) << ")\n"; in A2DP_CodecInfoStringSbc()
759 AppendField(&field, (sbc_cie.num_subbands == 0), "NONE"); in A2DP_CodecInfoStringSbc()
760 AppendField(&field, (sbc_cie.num_subbands & A2DP_SBC_IE_SUBBAND_4), "4"); in A2DP_CodecInfoStringSbc()
761 AppendField(&field, (sbc_cie.num_subbands & A2DP_SBC_IE_SUBBAND_8), "8"); in A2DP_CodecInfoStringSbc()
762 res << "\tnum_subbands: " << field << " (" << loghex(sbc_cie.num_subbands) in A2DP_CodecInfoStringSbc()
767 AppendField(&field, (sbc_cie.alloc_method == 0), "NONE"); in A2DP_CodecInfoStringSbc()
768 AppendField(&field, (sbc_cie.alloc_method & A2DP_SBC_IE_ALLOC_MD_S), "SNR"); in A2DP_CodecInfoStringSbc()
769 AppendField(&field, (sbc_cie.alloc_method & A2DP_SBC_IE_ALLOC_MD_L), in A2DP_CodecInfoStringSbc()
771 res << "\talloc_method: " << field << " (" << loghex(sbc_cie.alloc_method) in A2DP_CodecInfoStringSbc()
775 res << "\tBit pool Min: " << std::to_string(sbc_cie.min_bitpool) in A2DP_CodecInfoStringSbc()
776 << " Max: " << std::to_string(sbc_cie.max_bitpool); in A2DP_CodecInfoStringSbc()