版本
menu_open
Wwise SDK 2023.1.2

◆ CONVERT_OSCHAR_TO_CHAR

#define CONVERT_OSCHAR_TO_CHAR (   _osstring_,
  _astring_ 
)    _astring_ = (char*)_osstring_

Converts a AkOSChar string into char string.

备注
On some platforms the AkOSChar string simply points to the same string, on others a new buffer is allocated on the stack using AkAlloca. This means you must make sure that:
  • The source string stays valid and unmodified for as long as you need the AkOSChar string (for cases where they point to the same string)
  • The AkOSChar string is used within this scope only – for example, do NOT return that string from a function (for cases where it is allocated on the stack)

在文件 AkPlatformFuncs.h544 行定义.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅