Mercurial > hg > Game > Cerium
view example/synthesizer/AudioData.h @ 2064:f786ffb2a198 draft
add bm.h
author | Nozomi |
---|---|
date | Wed, 17 Feb 2016 17:37:06 +0900 (2016-02-17) |
parents | 8c3c826ba4d5 |
children |
line wrap: on
line source
#include <SDL_audio.h> typedef struct audioData { struct audioData *self; int volume; double frequency; char *waveform_name; int sampling_rate; Uint16 format; Uint8 channels; Uint8 silence; Uint16 samples; Uint32 size; //void (*callback)(void *userdata, Uint8 *stream, int len); void *userdata; } AudioData, *AudioDataPtr;