版本
menu

Wwise SDK 2024.1.6

◆ SetAll()

void AkAudioFormat::SetAll ( AkUInt32  in_uSampleRate,
AkChannelConfig  in_channelConfig,
AkUInt32  in_uBitsPerSample,
AkUInt32  in_uBlockAlign,
AkUInt32  in_uTypeID,
AkUInt32  in_uInterleaveID 
)
inline

Set all parameters of the audio format structure. Channels are specified by channel mask (standard configs).

参数
in_uSampleRateNumber of samples per second
in_channelConfigChannel configuration
in_uBitsPerSampleNumber of bits per sample
in_uBlockAlignNumber of bytes per sample frame. (For example a 5.1 PCM 16bit should have a uBlockAlign equal to 6(5.1 channels)*2(16 bits per sample) = 12.
in_uTypeIDData sample format (Float or Integer)
in_uInterleaveIDInterleaved type

在文件 AkCommonDefs.h123 行定义.

引用了 channelConfig, uBitsPerSample, uBlockAlign, uInterleaveID, uSampleRate , 以及 uTypeID.


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅