19 u32 offsets[PLSR_PLAYER_MAX_CHANNELS];
40 AudioRendererAdpcmContext context;
41 AudioRendererAdpcmParameters parameters;
51 unsigned int sampleRate;
52 unsigned int sampleCount;
54 unsigned int channelCount;
PLSR_PlayerSoundLoadLayout
Player sound load layout.
Definition: player_load.h:12
Player sound load information.
Definition: player_load.h:45
One offset where is stored fixed-size blocks in channel order until the end is reached.
Definition: player_load.h:14
One offset per channel where is stored one contiguous chunk of data.
Definition: player_load.h:13
Definition: player_load.h:39
Player sound load channel layout specific information.
Definition: player_load.h:18
const PLSR_Archive * ar
Archive file to read from.
Definition: player_load.h:46
unsigned int loopStartSample
Loop starting sample (if looping is true)
Definition: player_load.h:53
Player sound load blocks layout specific information.
Definition: player_load.h:23
size_t dataSize
total data size of one channel (if 0 this will be computed according to format and sample count) ...
Definition: player_load.h:55
Archive file.
Definition: archive.h:75
PLSR_RC plsrPlayerLoad(const PLSR_PlayerSoundLoadInfo *loadInfo, PLSR_PlayerSoundId *out)
Load a sound from a normalized sound load information.
u32 PLSR_RC
Result code returned by Pulsar functions.
Definition: types.h:73
u32 firstBlockOffset
Offset where the data of first block of the first channel begins.
Definition: player_load.h:24
Player sound.
Definition: player.h:39
Player sound load layout information.
Definition: player_load.h:30