Lines Matching refs:aac_cie
365 tA2DP_AAC_CIE aac_cie; in A2DP_GetTrackSampleRateAac() local
368 tA2DP_STATUS a2dp_status = A2DP_ParseInfoAac(&aac_cie, p_codec_info, false); in A2DP_GetTrackSampleRateAac()
375 switch (aac_cie.sampleRate) { in A2DP_GetTrackSampleRateAac()
406 tA2DP_AAC_CIE aac_cie; in A2DP_GetTrackBitsPerSampleAac() local
409 tA2DP_STATUS a2dp_status = A2DP_ParseInfoAac(&aac_cie, p_codec_info, false); in A2DP_GetTrackBitsPerSampleAac()
421 tA2DP_AAC_CIE aac_cie; in A2DP_GetTrackChannelCountAac() local
424 tA2DP_STATUS a2dp_status = A2DP_ParseInfoAac(&aac_cie, p_codec_info, false); in A2DP_GetTrackChannelCountAac()
431 switch (aac_cie.channelMode) { in A2DP_GetTrackChannelCountAac()
442 tA2DP_AAC_CIE aac_cie; in A2DP_GetSinkTrackChannelTypeAac() local
445 tA2DP_STATUS a2dp_status = A2DP_ParseInfoAac(&aac_cie, p_codec_info, false); in A2DP_GetSinkTrackChannelTypeAac()
452 switch (aac_cie.channelMode) { in A2DP_GetSinkTrackChannelTypeAac()
463 tA2DP_AAC_CIE aac_cie; in A2DP_GetObjectTypeCodeAac() local
466 tA2DP_STATUS a2dp_status = A2DP_ParseInfoAac(&aac_cie, p_codec_info, false); in A2DP_GetObjectTypeCodeAac()
473 switch (aac_cie.objectType) { in A2DP_GetObjectTypeCodeAac()
478 return aac_cie.objectType; in A2DP_GetObjectTypeCodeAac()
487 tA2DP_AAC_CIE aac_cie; in A2DP_GetChannelModeCodeAac() local
490 tA2DP_STATUS a2dp_status = A2DP_ParseInfoAac(&aac_cie, p_codec_info, false); in A2DP_GetChannelModeCodeAac()
497 switch (aac_cie.channelMode) { in A2DP_GetChannelModeCodeAac()
500 return aac_cie.channelMode; in A2DP_GetChannelModeCodeAac()
509 tA2DP_AAC_CIE aac_cie; in A2DP_GetVariableBitRateSupportAac() local
512 tA2DP_STATUS a2dp_status = A2DP_ParseInfoAac(&aac_cie, p_codec_info, false); in A2DP_GetVariableBitRateSupportAac()
519 switch (aac_cie.variableBitRateSupport) { in A2DP_GetVariableBitRateSupportAac()
522 return aac_cie.variableBitRateSupport; in A2DP_GetVariableBitRateSupportAac()
531 tA2DP_AAC_CIE aac_cie; in A2DP_GetBitRateAac() local
534 tA2DP_STATUS a2dp_status = A2DP_ParseInfoAac(&aac_cie, p_codec_info, false); in A2DP_GetBitRateAac()
541 return aac_cie.bitRate; in A2DP_GetBitRateAac()
545 tA2DP_AAC_CIE aac_cie; in A2DP_ComputeMaxBitRateAac() local
548 tA2DP_STATUS a2dp_status = A2DP_ParseInfoAac(&aac_cie, p_codec_info, false); in A2DP_ComputeMaxBitRateAac()
559 switch (aac_cie.objectType) { in A2DP_ComputeMaxBitRateAac()
595 tA2DP_AAC_CIE aac_cie; in A2DP_CodecInfoStringAac() local
597 a2dp_status = A2DP_ParseInfoAac(&aac_cie, p_codec_info, true); in A2DP_CodecInfoStringAac()
607 AppendField(&field, (aac_cie.objectType == 0), "NONE"); in A2DP_CodecInfoStringAac()
608 AppendField(&field, (aac_cie.objectType & A2DP_AAC_OBJECT_TYPE_MPEG2_LC), in A2DP_CodecInfoStringAac()
610 AppendField(&field, (aac_cie.objectType & A2DP_AAC_OBJECT_TYPE_MPEG4_LC), in A2DP_CodecInfoStringAac()
612 AppendField(&field, (aac_cie.objectType & A2DP_AAC_OBJECT_TYPE_MPEG4_LTP), in A2DP_CodecInfoStringAac()
615 (aac_cie.objectType & A2DP_AAC_OBJECT_TYPE_MPEG4_SCALABLE), in A2DP_CodecInfoStringAac()
617 res << "\tobjectType: " << field << " (" << loghex(aac_cie.objectType) in A2DP_CodecInfoStringAac()
622 AppendField(&field, (aac_cie.sampleRate == 0), "NONE"); in A2DP_CodecInfoStringAac()
623 AppendField(&field, (aac_cie.sampleRate & A2DP_AAC_SAMPLING_FREQ_8000), in A2DP_CodecInfoStringAac()
625 AppendField(&field, (aac_cie.sampleRate & A2DP_AAC_SAMPLING_FREQ_11025), in A2DP_CodecInfoStringAac()
627 AppendField(&field, (aac_cie.sampleRate & A2DP_AAC_SAMPLING_FREQ_12000), in A2DP_CodecInfoStringAac()
629 AppendField(&field, (aac_cie.sampleRate & A2DP_AAC_SAMPLING_FREQ_16000), in A2DP_CodecInfoStringAac()
631 AppendField(&field, (aac_cie.sampleRate & A2DP_AAC_SAMPLING_FREQ_22050), in A2DP_CodecInfoStringAac()
633 AppendField(&field, (aac_cie.sampleRate & A2DP_AAC_SAMPLING_FREQ_24000), in A2DP_CodecInfoStringAac()
635 AppendField(&field, (aac_cie.sampleRate & A2DP_AAC_SAMPLING_FREQ_32000), in A2DP_CodecInfoStringAac()
637 AppendField(&field, (aac_cie.sampleRate & A2DP_AAC_SAMPLING_FREQ_44100), in A2DP_CodecInfoStringAac()
639 AppendField(&field, (aac_cie.sampleRate & A2DP_AAC_SAMPLING_FREQ_48000), in A2DP_CodecInfoStringAac()
641 AppendField(&field, (aac_cie.sampleRate & A2DP_AAC_SAMPLING_FREQ_64000), in A2DP_CodecInfoStringAac()
643 AppendField(&field, (aac_cie.sampleRate & A2DP_AAC_SAMPLING_FREQ_88200), in A2DP_CodecInfoStringAac()
645 AppendField(&field, (aac_cie.sampleRate & A2DP_AAC_SAMPLING_FREQ_96000), in A2DP_CodecInfoStringAac()
647 res << "\tsamp_freq: " << field << " (" << loghex(aac_cie.sampleRate) in A2DP_CodecInfoStringAac()
652 AppendField(&field, (aac_cie.channelMode == 0), "NONE"); in A2DP_CodecInfoStringAac()
653 AppendField(&field, (aac_cie.channelMode == A2DP_AAC_CHANNEL_MODE_MONO), in A2DP_CodecInfoStringAac()
655 AppendField(&field, (aac_cie.channelMode == A2DP_AAC_CHANNEL_MODE_STEREO), in A2DP_CodecInfoStringAac()
657 res << "\tch_mode: " << field << " (" << loghex(aac_cie.channelMode) << ")\n"; in A2DP_CodecInfoStringAac()
661 << (aac_cie.variableBitRateSupport != 0) << "\n"; in A2DP_CodecInfoStringAac()
664 res << "\tbitRate: " << std::to_string(aac_cie.bitRate) << "\n"; in A2DP_CodecInfoStringAac()