CRI ADX  Last Updated: 2024-07-17 10:47 p
CriAtomExSourceInfoTag Struct Reference

Playback source information. More...

#include <cri_le_atom_ex.h>

Data Structures

union  CriAtomExSourceInfoInfoTag
 

Data Fields

CriAtomExSourceType type
 

Detailed Description

Playback source information.

Description:
Structure that contains information about the source of a voice being played back by an AtomEx Player.
It can be acquired by calling the criAtomExPlayback_GetSource function.
Further details may be retrieved by passing the acquired information to functions such as criAtomExAcb_GetCueInfoByIndex .
Remarks:
The information that can be retrieved depends on the source type.
Check "type" and select which structure is relevant in the union "source" to access the data.
criAtomExPlayback_GetSource(playback_id, &source);
switch (source.type) {
case CRIATOMEXPLAYBACK_SOURCE_TYPE_CUE_ID:
{
CriAtomExCueInfo cue_info;
criAtomExAcb_GetCueInfoById(source.info.cue_id.acb, source.info.cue_id.id, &cue_info);
:
}
break;
:
}
CriBool criAtomExAcb_GetCueInfoById(CriAtomExAcbHn acb_hn, CriAtomExCueId id, CriAtomExCueInfo *info)
Get information about the Cue whose ID is specified.
CriBool criAtomExPlayback_GetSource(CriAtomExPlaybackId id, CriAtomExSourceInfo *source)
Get information about the source of the sound.
Cue information.
Definition: cri_le_atom_ex.h:3144
Playback source information.
Definition: cri_le_atom_ex.h:4236
CriAtomExSourceType type
Definition: cri_le_atom_ex.h:4238
See also
criAtomExPlayback_GetSource, criAtomExAcb_GetCueInfoByIndex

Field Documentation

◆ type

playback source type


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