src/audio/SDL_sysaudio.h
changeset 10238 6fa358b97f4b
parent 10235 cd7beec0f654
child 10239 04cda108b406
equal deleted inserted replaced
10237:0d344873cd93 10238:6fa358b97f4b
   156     int use_streamer;
   156     int use_streamer;
   157     SDL_AudioStreamer streamer;
   157     SDL_AudioStreamer streamer;
   158 
   158 
   159     /* Current state flags */
   159     /* Current state flags */
   160     SDL_atomic_t shutdown; /* true if we are signaling the play thread to end. */
   160     SDL_atomic_t shutdown; /* true if we are signaling the play thread to end. */
       
   161     SDL_atomic_t enabled;  /* true if device is functioning and connected. */
       
   162     SDL_atomic_t paused;
       
   163     SDL_bool opened;
   161     SDL_bool iscapture;
   164     SDL_bool iscapture;
   162     SDL_bool enabled;  /* true if device is functioning and connected. */
       
   163     SDL_bool paused;
       
   164     SDL_bool opened;
       
   165 
   165 
   166     /* Fake audio buffer for when the audio hardware is busy */
   166     /* Fake audio buffer for when the audio hardware is busy */
   167     Uint8 *fake_stream;
   167     Uint8 *fake_stream;
   168 
   168 
   169     /* A mutex for locking the mixing buffers */
   169     /* A mutex for locking the mixing buffers */