CriFsStdioHn fp;
CriSint64 filesize;
CriSint32 mem_file;
fp = criFsStdio_OpenFile(NULL, PATH FILE, "r");
filesize = criFsStdio_GetFileSize(fp);
mem_file = user_alloc(NULL, (CriSint32)filesize);
criFsStdio_ReadFile(fp, filesize, mem_file, filesize);
criFsStdio_CloseFile(fp);
void criAtomExPlayer_SetData(CriAtomExPlayerHn player, void *buffer, CriSint32 size)
Set the sound data to play (specifying in-memory data)
CriAtomExPlaybackId criAtomExPlayer_Start(CriAtomExPlayerHn player)
Start the playback
CriAtomExPlayerObj * CriAtomExPlayerHn
Player handle
Definition: cri_le_atom_ex.h:3622
CriAtomExPlayerHn criAtomExPlayer_Create(const CriAtomExPlayerConfig *config, void *work, CriSint32 work_size)
Create an AtomEx player
struct CriAtomExVoicePoolTag * CriAtomExVoicePoolHn
Voice Pool handle
Definition: cri_le_atom_ex.h:3220
CriAtomExVoicePoolHn criAtomExVoicePool_AllocateAdxVoicePool(const CriAtomExAdxVoicePoolConfig *config, void *work, CriSint32 work_size)
Create an ADX Voice Pool