Switch to mixed case for consistency with other enumerations
authorSam Lantinga <slouken@libsdl.org>
Thu, 10 Dec 2009 08:28:26 +0000
changeset 3537e897a4a9f578
parent 3536 0267b8b1595c
child 3538 a1896642a47e
Switch to mixed case for consistency with other enumerations
include/SDL_audio.h
src/audio/SDL_audio.c
     1.1 --- a/include/SDL_audio.h	Wed Dec 09 15:56:56 2009 +0000
     1.2 +++ b/include/SDL_audio.h	Thu Dec 10 08:28:26 2009 +0000
     1.3 @@ -356,10 +356,10 @@
     1.4      SDL_AUDIO_STOPPED = 0,
     1.5      SDL_AUDIO_PLAYING,
     1.6      SDL_AUDIO_PAUSED
     1.7 -} SDL_audiostatus;
     1.8 -extern DECLSPEC SDL_audiostatus SDLCALL SDL_GetAudioStatus(void);
     1.9 +} SDL_AudioStatus;
    1.10 +extern DECLSPEC SDL_AudioStatus SDLCALL SDL_GetAudioStatus(void);
    1.11  
    1.12 -extern DECLSPEC SDL_audiostatus SDLCALL
    1.13 +extern DECLSPEC SDL_AudioStatus SDLCALL
    1.14  SDL_GetAudioDeviceStatus(SDL_AudioDeviceID dev);
    1.15  /*@}*//*Audio State*/
    1.16  
     2.1 --- a/src/audio/SDL_audio.c	Wed Dec 09 15:56:56 2009 +0000
     2.2 +++ b/src/audio/SDL_audio.c	Thu Dec 10 08:28:26 2009 +0000
     2.3 @@ -1043,11 +1043,11 @@
     2.4                               allowed_changes, 2);
     2.5  }
     2.6  
     2.7 -SDL_audiostatus
     2.8 +SDL_AudioStatus
     2.9  SDL_GetAudioDeviceStatus(SDL_AudioDeviceID devid)
    2.10  {
    2.11      SDL_AudioDevice *device = get_audio_device(devid);
    2.12 -    SDL_audiostatus status = SDL_AUDIO_STOPPED;
    2.13 +    SDL_AudioStatus status = SDL_AUDIO_STOPPED;
    2.14      if (device && device->enabled) {
    2.15          if (device->paused) {
    2.16              status = SDL_AUDIO_PAUSED;
    2.17 @@ -1059,7 +1059,7 @@
    2.18  }
    2.19  
    2.20  
    2.21 -SDL_audiostatus
    2.22 +SDL_AudioStatus
    2.23  SDL_GetAudioStatus(void)
    2.24  {
    2.25      return SDL_GetAudioDeviceStatus(1);