11#include "sound_chef/sound_chef_common.h"
13#define SC_BANK_VERSION 1u
15#define FOURCC(a, b, c, d) ((ma_uint32)(((d) << 24) | ((c) << 16) | ((b) << 8) | (a)))
17#define SC_BANK_ID (FOURCC('S', 'C', 'B', 'K'))
18#define SC_BANK_AUDIO_CHUNK_ID (FOURCC('S', 'C', 'A', 'C'))
19#define SC_BANK_SUB_ID (FOURCC('S', 'C', 'F', 'E'))
28 typedef struct sc_subChunk sc_subChunk;
34 SC_BANK_FILE_NAME_BUFFER_SIZE = 64
41 char name[SC_BANK_FILE_NAME_BUFFER_SIZE];
50 ma_uint32 numOfSubchunks;
57 ma_vfs_file outputFile;
60 sc_result SC_API sc_bank_init(
sc_bank* bank,
const char* outputFile, ma_open_mode_flags openFlags);
61 sc_result SC_API sc_bank_uninit(
sc_bank* bank);
63 sc_result SC_API sc_bank_build(
sc_bank* bank,
64 const char** inputFiles,
65 sc_encoding_format* inputFileFormats,
66 ma_uint32 inputFilesSize);
67 sc_result SC_API sc_bank_read(
sc_bank* bank);
Definition sound_chef_bank.h:38
Definition sound_chef_bank.h:55
Definition sound_chef_bank.h:46