CRI ADX  Last Updated: 2024-07-17 10:48 p
CriAtomExSourceInfoTag结构体 参考

Playback source information 更多...

#include <cri_le_atom_ex.h>

结构体

union  CriAtomExSourceInfoInfoTag
 

成员变量

CriAtomExSourceType type
 

详细描述

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
参见
criAtomExPlayback_GetSource, criAtomExAcb_GetCueInfoByIndex

结构体成员变量说明

◆ type

playback source type


该结构体的文档由以下文件生成: