menu
 
版本
2017.1.9.6501

2023.1.15.8789

2024.1.7.8863

2025.1.0.8897

2022.1.19.8584

2021.1.14.8108

2015.1.9.5624

2019.2.15.7667

2019.1.11.7296

2018.1.11.6987

2017.2.10.6745

2017.1.9.6501

2016.2.6.6153

menu

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_uSampleRate  Number of samples per second
in_channelConfig  Channel configuration
in_uBitsPerSample  Number of bits per sample
in_uBlockAlign  Block alignment
in_uTypeID  Data sample format (Float or Integer)
in_uInterleaveID  Interleaved type

在文件AkCommonDefs.h123行定义。

参考 channelConfiguBitsPerSampleuBlockAlignuInterleaveIDuSampleRateuTypeID.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅