diff src/ljmusic.h @ 0:c84446dfb3f5

initial add
author paulo@localhost
date Fri, 13 Mar 2009 00:39:12 -0700
parents
children 38c62fded078
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/ljmusic.h	Fri Mar 13 00:39:12 2009 -0700
     1.3 @@ -0,0 +1,22 @@
     1.4 +/* FIXME: add license block */
     1.5 +#ifndef LJMUSIC_H
     1.6 +#define LJMUSIC_H
     1.7 +
     1.8 +#define LJMUSIC_USING_DUMB 1
     1.9 +#define LJMUSIC_USING_VORBIS 1
    1.10 +
    1.11 +typedef struct LJMusic LJMusic;
    1.12 +
    1.13 +struct LJMusic *LJMusic_new(void);
    1.14 +void LJMusic_delete(struct LJMusic *m);
    1.15 +int LJMusic_load(struct LJMusic *m, const char *filename);
    1.16 +void LJMusic_unload(struct LJMusic *m);
    1.17 +void LJMusic_start(struct LJMusic *m, int bufferSize, int vol);
    1.18 +void LJMusic_setLoop(struct LJMusic *m, unsigned long int start);
    1.19 +void LJMusic_stop(struct LJMusic *m);
    1.20 +void LJMusic_poll(struct LJMusic *m);
    1.21 +void LJMusic_pause(struct LJMusic *m, int value);
    1.22 +
    1.23 +
    1.24 +#endif
    1.25 +