50 void pause(
bool value);
52 static void update(
void *userdata, Uint8 *stream,
int len);
83 #endif // SDLTK_AUDIO_H uint dist() const
Definition: audio.h:67
static void update(void *userdata, Uint8 *stream, int len)
Definition: audio.cpp:125
Manages all Audio related stuff.
Definition: audio.h:32
uint alignSamples(uint given)
Definition: audio.cpp:53
static volatile bool mBufferCopied
Definition: audio.h:56
void quit()
Definition: audio.cpp:43
void setCopied(bool val)
Definition: audio.h:47
void waitCopied()
Definition: audio.h:48
Sound & sound()
Definition: cpc.h:103
bool copied() const
Definition: audio.h:46
bool isInit
Definition: audio.h:59
SDL_AudioSpec * mSpec
Definition: audio.h:57
~Audio()
Definition: audio.cpp:38
tUBYTE * bufferPtr() const
Definition: sound.h:104
uint mindist() const
Definition: audio.h:43
uint maxdist() const
Definition: audio.h:44
tUBYTE * stream() const
Definition: sound.h:74
int init()
Definition: audio.cpp:63
uint mMinSafeDist
Definition: audio.h:61
tUBYTE * bufferEnd() const
Definition: sound.h:73
unsigned int uint
Definition: types.h:121
Audio(cpcx::Cpc *cpc)
Definition: audio.cpp:28
uint mMaxSafeDist
Definition: audio.h:62
sdltk::Audio audio & cpc
Definition: roland.cpp:76
static cpcx::Cpc * mCpc
Definition: audio.h:55
tUBYTE * buffer() const
Definition: sound.h:72
void pause(bool value)
Definition: audio.cpp:116
the SDL based Stuff
Definition: audio.cpp:22