Wwise SDK 2025.1.2
|
Retrieve all fields present in the Media Pool. You can then use the fields to query the Media Pool. The Media Pool discovers some fields when it scans audio files. Others, such as WAV fields, are always available.
名称 | 类型 | 说明 |
---|---|---|
return | array | The list of fields available to use in Media Pool queries. |
return [...] | The field name. Any of: | |
string | Filename : The name of the file, including the extension. | |
string | WAV/Duration : The duration of the file in seconds. | |
string | WAV/Sample Rate : The sample rate of the audio file in Hz. | |
string | WAV/Bit Depth : The bit depth of the audio file. Possible values are 8, 16, 24, or 32. | |
string | WAV/Channels : The number of channels of the audio file. | |
string | WAV/Channel Configuration : The channel configuration of the audio file, such as '1.0', '2.0', '5.1', '7.1.4', etc. | |
string | WAV/Data Size : The size of the audio data in bytes. | |
string | WAV/Loop Start : The position in seconds where the audio file loop starts. | |
string | WAV/Loop End : The position in seconds where the audio file loops back to the start. | |
string | WAV/Marker Count : The number of markers in the audio file. | |
string | WAV/Samples : The number of samples in the audio file, for one channel. | |
string | Other fields found in the IXML chunk of the file. Use ak.core.mediaPool.getFields to get the list of supported fields. |
有关 Wwise Authoring API 的详细信息,请参阅 使用 Wwise Authoring API(WAAPI) 章节。