menu
 
버전
2016.2.6.6153

2024.1.3.8749

2023.1.11.8682

2022.1.18.8567

2021.1.14.8108

2019.2.15.7667

2019.1.11.7296

2018.1.11.6987

2017.2.10.6745

2017.1.9.6501

2016.2.6.6153

2015.1.9.5624


menu_open

AkExternalSourceInfo Struct Reference

List of all members.

Public Member Functions

  AkExternalSourceInfo ()
  Default constructor.
  AkExternalSourceInfo (void *in_pInMemory, AkUInt32 in_uiMemorySize, AkUInt32 in_iExternalSrcCookie, AkCodecID in_idCodec)
  Constructor: specify source by memory.
  AkExternalSourceInfo (AkOSChar *in_pszFileName, AkUInt32 in_iExternalSrcCookie, AkCodecID in_idCodec)
  Constructor: specify source by streaming file name.
  AkExternalSourceInfo (AkFileID in_idFile, AkUInt32 in_iExternalSrcCookie, AkCodecID in_idCodec)
  Constructor: specify source by streaming file ID.

Public Attributes

AkUInt32  iExternalSrcCookie
  Cookie identifying the source, given by hashing the name of the source given in the project. See AK::SoundEngine::GetIDFromString.
AkCodecID  idCodec
  Codec ID for the file. One of the audio formats defined in AkTypes.h (AKCODECID_XXX).
AkOSChar szFile
  File path for the source. If not NULL, the source will be streaming from disk. Set pInMemory and idFile to NULL.
void *  pInMemory
  Pointer to the in-memory file. If not NULL, the source will be read from memory. Set szFile and idFile to NULL.
AkUInt32  uiMemorySize
  Size of the data pointed by pInMemory.
AkFileID  idFile
  File ID. If not zero, the source will be streaming from disk. This ID can be anything. Note that you must override the low-level IO to resolve this ID to a real file. See Low-Level I/O for more information on overriding the Low Level IO.

Detailed Description

This structure allows the game to provide audio files to fill the external sources. See AK::SoundEngine::PostEvent You can specify a streaming file or a file in-memory, regardless of the "Stream" option in the Wwise project.

dangerous
Warning: Make sure that only one of szFile, pInMemory or idFile is non-null. The other 2 must be null.

Definition at line 234 of file AkTypes.h.


The documentation for this struct was generated from the following file:

이 페이지가 도움이 되었나요?

지원이 필요하신가요?

질문이 있으신가요? 문제를 겪고 계신가요? 더 많은 정보가 필요하신가요? 저희에게 문의해주시면 도와드리겠습니다!

지원 페이지를 방문해 주세요

작업하는 프로젝트에 대해 알려주세요. 언제든지 도와드릴 준비가 되어 있습니다.

프로젝트를 등록하세요. 아무런 조건이나 의무 사항 없이 빠른 시작을 도와드리겠습니다.

Wwise를 시작해 보세요