CRI ADX  Last Updated: 2024-07-17 10:47 p
Specific sounds are not played
If only some specific sounds (Cues, Voices) are not played, please use the playback ID returned by the criAtomExPlayer_Start function to obtain their status.
The following sample code issues a playback request to the player and retrieves the playback ID.
/* Playback ID */
CriAtomExPlaybackId playback_id;
/* Send playback request */
playback_id = criAtomExPlayer_Start(player);
/* Check results of criAtomExPlayer_Start */
if (playback_id == CRIATOMEX_INVALID_PLAYBACK_ID) {
/* Error */
}
#define CRIATOMEX_INVALID_PLAYBACK_ID
Invalid playback ID.
Definition: cri_le_atom_ex.h:196
CriAtomExPlaybackId criAtomExPlayer_Start(CriAtomExPlayerHn player)
Start the playback.
CriUint32 CriAtomExPlaybackId
Playback ID.
Definition: cri_le_atom_ex.h:3722



The following sample code obtains the status from the playback ID.
/* Obtain status of playback ID */
CriAtomExPlaybackStatus playback_status;
playback_status = criAtomExPlayback_GetStatus(playback_id);
CriAtomExPlaybackStatus criAtomExPlayback_GetStatus(CriAtomExPlaybackId id)
Get the playback status.
enum CriAtomExPlaybackStatusTag CriAtomExPlaybackStatus
Playback status.



The possible values for the playback ID status returned are: