AudioPortCap

概述

定义音频编解码能力。

相关模块:

Codec

汇总

Public 属性

名称 描述
sampleFormats [SAMPLE_FMT_NUM] int32_t
支持的音频采样格式,详见AudioSampleFormat
sampleRate [SAMPLE_RATE_NUM] int32_t
支持的音频采样率,详见AudioSampleRate
channelLayouts [CHANNEL_NUM] int32_t
支持的音频通道数channel layouts。
channelCount [CHANNEL_NUM] int32_t
支持的音频通道数。

类成员变量说明

channelCount

int32_t AudioPortCap::channelCount[CHANNEL_NUM]

描述:

支持的音频通道数。

channelLayouts

int32_t AudioPortCap::channelLayouts[CHANNEL_NUM]

描述:

支持的音频通道数channel layouts。

sampleFormats

int32_t AudioPortCap::sampleFormats[SAMPLE_FMT_NUM]

描述:

支持的音频采样格式,详见AudioSampleFormat

sampleRate

int32_t AudioPortCap::sampleRate[SAMPLE_RATE_NUM]

描述:

支持的音频采样率,详见AudioSampleRate