view src/ljmusic.h @ 1:38c62fded078

initial builds (linux and lj.nds)
author paulo@localhost
date Fri, 13 Mar 2009 01:10:13 -0700
parents c84446dfb3f5
children
line source
1 /* FIXME: add license block */
2 #ifndef LJMUSIC_H
3 #define LJMUSIC_H
5 #define LJMUSIC_USING_DUMB 0
6 #define LJMUSIC_USING_VORBIS 1
8 typedef struct LJMusic LJMusic;
10 struct LJMusic *LJMusic_new(void);
11 void LJMusic_delete(struct LJMusic *m);
12 int LJMusic_load(struct LJMusic *m, const char *filename);
13 void LJMusic_unload(struct LJMusic *m);
14 void LJMusic_start(struct LJMusic *m, int bufferSize, int vol);
15 void LJMusic_setLoop(struct LJMusic *m, unsigned long int start);
16 void LJMusic_stop(struct LJMusic *m);
17 void LJMusic_poll(struct LJMusic *m);
18 void LJMusic_pause(struct LJMusic *m, int value);
21 #endif