21 lines
403 B
C
21 lines
403 B
C
#ifndef SOUND_H
|
|
#define SOUND_H
|
|
|
|
#define SOUND_FLAG_NONE 0x0
|
|
#define SOUND_FLAG_STEREO 0x1
|
|
|
|
struct asset;
|
|
|
|
struct sound {
|
|
u32 flags;
|
|
struct pcm pcm;
|
|
};
|
|
|
|
void sound_startup(void);
|
|
|
|
struct asset *sound_load_asset(struct string path, u32 flags, b32 wait);
|
|
struct sound *sound_load_async(struct string path, u32 flags);
|
|
struct sound *sound_load(struct string path, u32 flags);
|
|
|
|
#endif
|