src/platform/sdl/sdl-audio.h (view raw)
1#ifndef SDL_AUDIO_H
2#define SDL_AUDIO_H
3
4#include <SDL.h>
5
6struct GBASDLAudio {
7 SDL_AudioSpec desiredSpec;
8 SDL_AudioSpec obtainedSpec;
9 float drift;
10 float ratio;
11 struct GBAAudio* audio;
12};
13
14int GBASDLInitAudio(struct GBASDLAudio* context);
15void GBASDLDeinitAudio(struct GBASDLAudio* context);
16
17#endif