Version
menu

Wwise SDK 2025.1.2
ak.wwise.core.mediaPool.getFields

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.

Result

Name Type Description
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.

Result Schema

See Also

Examples

Refer to Using the Wwise Authoring API (WAAPI) for more information about Wwise Authoring API.


Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise