src/audio/SDL_sysaudio.h
changeset 9391 3a54985e999e
parent 9031 e963a13a720c
child 9393 ed79a66e57e5
     1.1 --- a/src/audio/SDL_sysaudio.h	Wed Mar 18 12:03:32 2015 -0400
     1.2 +++ b/src/audio/SDL_sysaudio.h	Wed Mar 18 10:09:23 2015 -0400
     1.3 @@ -71,6 +71,7 @@
     1.4      /* !!! FIXME: add pause(), so we can optimize instead of mixing silence. */
     1.5  
     1.6      /* Some flags to push duplicate code into the core and reduce #ifdefs. */
     1.7 +    /* !!! FIXME: these should be SDL_bool */
     1.8      int ProvidesOwnCallbackThread;
     1.9      int SkipMixerLock;  /* !!! FIXME: do we need this anymore? */
    1.10      int HasCaptureSupport;
    1.11 @@ -125,6 +126,7 @@
    1.12      SDL_AudioStreamer streamer;
    1.13  
    1.14      /* Current state flags */
    1.15 +    /* !!! FIXME: should be SDL_bool */
    1.16      int iscapture;
    1.17      int enabled;
    1.18      int paused;
    1.19 @@ -133,7 +135,7 @@
    1.20      /* Fake audio buffer for when the audio hardware is busy */
    1.21      Uint8 *fake_stream;
    1.22  
    1.23 -    /* A semaphore for locking the mixing buffers */
    1.24 +    /* A mutex for locking the mixing buffers */
    1.25      SDL_mutex *mixer_lock;
    1.26  
    1.27      /* A thread to feed the audio device */