Thsound

From ProjectWiki
(Difference between revisions)
Jump to: navigation, search
Eris (Talk | contribs)
(New page: ==What is this?== ==Plz clean this up :p== <source lang="c"> //common functions void thSndInit(void); </source> <source lang="c"> thSample_t *thSampleLoadWav(const char *name); void thSa...)
Newer edit →

Revision as of 00:57, 12 August 2008

What is this?

Plz clean this up :p

//common functions
void thSndInit(void);
thSample_t *thSampleLoadWav(const char *name);
void thSampleDefaults(int rate, char level, char pan, u32 flags);
thSample_t *mmSampleCreate(void *start, int len, void *loopstart, int rate, u8 opts);
void thSndPlaySample(char chan, thSample_t *sample, char vol, char pan);
void thSndPlayRaw(char chan, void *start, int len, int rate, char vol, char pan, u32 loopstart, u32 opts);
void thSndRegDirect(char chan, u32 start, int len, int rate, u32 loopstart, u32 opts);
void thSndEzPlaySample(char chan, thSample_t *sample);
void thSndEzPlayRaw(char chan, void *start, int len);
void thSndPlayNoise(char chan, u16 rate, char vol, char pan);
void thSndPlayNote(char chan, char note, char duty, char vol, char pan);
void thSndStop(char chan);
void thSndSetVol(char chan, char vol);
void thSndSetPan(char chan, char pan);
void thSndSetRate(char chan, u32 rate);
void thSndSetDuty(char chan, char duty);
void thSndFade(char chan, u16 faderate);
Personal tools
irssi scripts
eggdrop scripts