diff options
author | Paul Duncan <pabs@pablotron.org> | 2019-01-16 17:22:42 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2019-01-16 17:22:42 -0500 |
commit | 0fd2a97e6f169468b3a48f996ba35cd70210baa0 (patch) | |
tree | a1df62f9225cd35ba6b947ce82031ad60b0a1fef /src/sdl/sounds.h | |
parent | e09c3840d46767c4c5d1e62303e80a5845696afc (diff) | |
download | sok-0fd2a97e6f169468b3a48f996ba35cd70210baa0.tar.bz2 sok-0fd2a97e6f169468b3a48f996ba35cd70210baa0.zip |
add src/sdl/sounds.[hc], assets/wavs, and set default sounds
Diffstat (limited to 'src/sdl/sounds.h')
-rw-r--r-- | src/sdl/sounds.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sdl/sounds.h b/src/sdl/sounds.h new file mode 100644 index 0000000..3b74aff --- /dev/null +++ b/src/sdl/sounds.h @@ -0,0 +1,10 @@ +#ifndef SOUNDS_H +#define SOUNDS_H + +#include <SDL_mixer.h> +#include "assets.h" + +void sounds_init(Mix_Chunk ** const); +void sound_play(Mix_Chunk ** const sounds, const asset_id_t); + +#endif /* SOUNDS_H */ |