AudioEncodedFrameObserverConfig

  • Unity

更新时间不可用

编码后音频的观测器设置。

C#
public class AudioEncodedFrameObserverConfig
    {
        public AudioEncodedFrameObserverConfig()
        {
            postionType = AUDIO_ENCODED_FRAME_OBSERVER_POSITION.AUDIO_ENCODED_FRAME_OBSERVER_POSITION_PLAYBACK;
            encodingType = AUDIO_ENCODING_TYPE.AUDIO_ENCODING_TYPE_OPUS_48000_MEDIUM;
        }

        public AudioEncodedFrameObserverConfig(AUDIO_ENCODED_FRAME_OBSERVER_POSITION postionType,
                                                AUDIO_ENCODING_TYPE encodingType)
        {
            this.encodingType = encodingType;
            this.postionType = postionType;
        }
        public AUDIO_ENCODED_FRAME_OBSERVER_POSITION postionType { set; get; }
        public AUDIO_ENCODING_TYPE encodingType { set; get; }
    }

属性

参数名描述
postionType

音频编码内容。详见 AUDIO_ENCODED_FRAME_OBSERVER_POSITION。

encodingType

音频编码类型。详见 AUDIO_ENCODING_TYPE。

表格内容超出当前宽度,可横向滚动查看更多列。

这个页面有帮助吗?