CriAtomExPlayerConfig player_config; /* プレーヤー作成用コンフィグ構造体に初期値を設定 */ criAtomExPlayer_SetDefaultConfig(&player_config); /* ボイス確保方式の変更 */ /* 備考)CRIATOMEXPLAYER_RETRY_VOICE_ALLOCATIONを指定して作成 */ /* したプレーヤーは、再生途中にボイスを奪い取られたとしても、 */ /* ボイスに空きができた時点で再生を再開します。 */ player_config.voice_allocation_method = CRIATOMEXPLAYER_RETRY_VOICE_ALLOCATION; /* プレーヤーの作成 */ app_obj->player = criAtomExPlayer_Create(&player_config, NULL, 0);