menu
 
バージョン
2018.1.11.6987

2024.1.5.8803

2023.1.13.8732

2022.1.19.8584

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

Wwise SDK 2018.1.11
AkExternalSourceInfo 構造体

公開メンバ関数

  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. [詳解]
 

公開変数類

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 to NULL. If idFile is set, this field is used as stream name (for profiling purposes). [詳解]
 
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 低レベル I/O for more information on overriding the Low Level IO. [詳解]
 

詳解

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. if both idFile and szFile are set, idFile is passed to low-level IO and szFile is used as stream name (for profiling purposes).

AkTypes.h242 行目に定義があります。


この構造体詳解は次のファイルから抽出されました:

このページはお役に立ちましたか?

サポートは必要ですか?

ご質問や問題、ご不明点はございますか?お気軽にお問い合わせください。

サポートページをご確認ください

あなたのプロジェクトについて教えてください。ご不明な点はありませんか。

プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。

Wwiseからはじめよう