1.1 --- a/src/aica/audio.h Tue Oct 09 11:37:36 2007 +0000
1.2 +++ b/src/aica/audio.h Wed Oct 24 21:24:09 2007 +0000
1.5 - * $Id: audio.h,v 1.8 2007-10-09 11:37:36 nkeynes Exp $
1.6 + * $Id: audio.h,v 1.9 2007-10-24 21:24:09 nkeynes Exp $
1.8 * Audio engine, ie the part that does the actual work.
1.12 #define AUDIO_FMT_16ST (AUDIO_FMT_16BIT|AUDIO_FMT_STEREO)
1.14 +typedef enum { LOOP_OFF = 0, LOOP_ON = 1, LOOP_LOOPED = 2 } loop_t;
1.16 typedef struct audio_channel {
1.18 uint32_t posn; /* current sample #, 0 = first sample */
1.24 uint32_t loop_start;
1.25 int vol; /* 0..255 */
1.26 int pan; /* 0 (left) .. 31 (right) */