Arch Game Engine
0.2
Main Page
Classes
Files
File List
audio.h
1
#ifndef AUDIO_H
2
#define AUDIO_H
3
4
#include <SDL2/SDL.h>
5
6
class
Audio
{
7
public
:
8
~
Audio
();
9
void
load(
const
char
* filename);
10
void
play();
11
private
:
12
SDL_AudioSpec wavSpec;
13
Uint32 wavLength;
14
Uint8 *wavBuffer;
15
SDL_AudioDeviceID deviceId;
16
};
17
18
#endif //AUDIO_H
Audio
Definition:
audio.h:6
Generated by
1.8.11