test/loopwavequeue.c
changeset 10981 15455a660688
parent 10902 5fcc998013ed
child 11811 5d94cb6b24d3
equal deleted inserted replaced
10980:010c0ea7746d 10981:15455a660688
    28 static struct
    28 static struct
    29 {
    29 {
    30     SDL_AudioSpec spec;
    30     SDL_AudioSpec spec;
    31     Uint8 *sound;               /* Pointer to wave data */
    31     Uint8 *sound;               /* Pointer to wave data */
    32     Uint32 soundlen;            /* Length of wave data */
    32     Uint32 soundlen;            /* Length of wave data */
    33     int soundpos;               /* Current play position */
       
    34 } wave;
    33 } wave;
    35 
    34 
    36 
    35 
    37 /* Call this instead of exit(), so we can clean up SDL: atexit() is evil. */
    36 /* Call this instead of exit(), so we can clean up SDL: atexit() is evil. */
    38 static void
    37 static void