The Game Engine  1
Audio.cpp File Reference
#include "Audio.h"
#include "Game.h"
#include <vector>
+ Include dependency graph for Audio.cpp:

Go to the source code of this file.

Classes

struct  sample
 

Functions

vector< string > soundlist (SOUND_CAP)
 
void create_tone (void *userdata, Uint8 *stream, int len)
 
void mixaudio (void *unused, Uint8 *stream, int len)
 

Variables

int SOUND_CAP =100
 
int index =0
 
struct sample sounds [100]
 

Function Documentation

void create_tone ( void *  userdata,
Uint8 *  stream,
int  len 
)

Definition at line 125 of file Audio.cpp.

+ Here is the caller graph for this function:

void mixaudio ( void *  unused,
Uint8 *  stream,
int  len 
)

Definition at line 165 of file Audio.cpp.

+ Here is the caller graph for this function:

vector<string> soundlist ( SOUND_CAP  )

Variable Documentation

int index =0

Definition at line 6 of file Audio.cpp.

int SOUND_CAP =100

Definition at line 5 of file Audio.cpp.

struct sample sounds[100]