Mercurial > hg > index.fcgi > lj > lj046
annotate src/ljmusic.h @ 3:17286938e22a
change DS alt. rotate key to rotate twice
author | paulo@localhost |
---|---|
date | Wed, 08 Apr 2009 21:50:13 -0700 |
parents | c84446dfb3f5 |
children |
rev | line source |
---|---|
paulo@0 | 1 /* FIXME: add license block */ |
paulo@0 | 2 #ifndef LJMUSIC_H |
paulo@0 | 3 #define LJMUSIC_H |
paulo@0 | 4 |
paulo@1 | 5 #define LJMUSIC_USING_DUMB 0 |
paulo@0 | 6 #define LJMUSIC_USING_VORBIS 1 |
paulo@0 | 7 |
paulo@0 | 8 typedef struct LJMusic LJMusic; |
paulo@0 | 9 |
paulo@0 | 10 struct LJMusic *LJMusic_new(void); |
paulo@0 | 11 void LJMusic_delete(struct LJMusic *m); |
paulo@0 | 12 int LJMusic_load(struct LJMusic *m, const char *filename); |
paulo@0 | 13 void LJMusic_unload(struct LJMusic *m); |
paulo@0 | 14 void LJMusic_start(struct LJMusic *m, int bufferSize, int vol); |
paulo@0 | 15 void LJMusic_setLoop(struct LJMusic *m, unsigned long int start); |
paulo@0 | 16 void LJMusic_stop(struct LJMusic *m); |
paulo@0 | 17 void LJMusic_poll(struct LJMusic *m); |
paulo@0 | 18 void LJMusic_pause(struct LJMusic *m, int value); |
paulo@0 | 19 |
paulo@0 | 20 |
paulo@0 | 21 #endif |
paulo@0 | 22 |