added reaaly basic audio
This commit is contained in:
parent
46e26e41e5
commit
9bfcd5552e
8 changed files with 111 additions and 3 deletions
12
include/arc/audio/sdl/audio.h
Normal file
12
include/arc/audio/sdl/audio.h
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#ifndef ARC_SDL_AUDIO_H_
|
||||
#define ARC_SDL_AUDIO_H_
|
||||
|
||||
#ifdef ARC_SDL
|
||||
#include <SDL2/SDL_mixer.h>
|
||||
|
||||
typedef struct ARC_Audio {
|
||||
Mix_Chunk *chunk;
|
||||
} ARC_Audio;
|
||||
|
||||
#endif // !ARC_SDL
|
||||
#endif // !ARC_SDL_AUDIO_H_
|
||||
Loading…
Add table
Add a link
Reference in a new issue