Pulsar
3d3a057
|
Wave file init. More...
Go to the source code of this file.
Data Structures | |
struct | PLSR_BFWAV |
Wave file. More... | |
Enumerations | |
enum | PLSR_BFWAVCategoryType { PLSR_BFWAVCategoryType_Init = 0, PLSR_BFWAVCategoryType_Info, PLSR_BFWAVCategoryType_Data } |
Wave file method categories. | |
enum | PLSR_BFWAVFormat { PLSR_BFWAVFormat_PCM_8 = 0, PLSR_BFWAVFormat_PCM_16 = 1, PLSR_BFWAVFormat_DSP_ADPCM = 2 } |
Wave file sample formats. More... | |
Functions | |
PLSR_RC | plsrBFWAVOpen (const char *path, PLSR_BFWAV *out) |
Open from a file at specified path. More... | |
PLSR_RC | plsrBFWAVOpenInside (const PLSR_Archive *ar, u32 offset, PLSR_BFWAV *out) |
Open from inside another archive at specified offset. More... | |
void | plsrBFWAVClose (PLSR_BFWAV *bfwav) |
Close archive, releasing resources if applicable. More... | |
Wave file init.
enum PLSR_BFWAVFormat |
Wave file sample formats.
Enumerator | |
---|---|
PLSR_BFWAVFormat_PCM_8 | 8-bit PCM encoded samples |
PLSR_BFWAVFormat_PCM_16 | 16-bit PCM encoded samples |
PLSR_BFWAVFormat_DSP_ADPCM | DSP ADPCM encoded samples (Wave channel info should contain the needed ADPCM context to decode samples, see plsrBFWAVReadChannelInfo()) |
void plsrBFWAVClose | ( | PLSR_BFWAV * | bfwav | ) |
Close archive, releasing resources if applicable.
PLSR_RC plsrBFWAVOpen | ( | const char * | path, |
PLSR_BFWAV * | out | ||
) |
Open from a file at specified path.
PLSR_RC plsrBFWAVOpenInside | ( | const PLSR_Archive * | ar, |
u32 | offset, | ||
PLSR_BFWAV * | out | ||
) |
Open from inside another archive at specified offset.