Switch to mixed case for consistency with other enumerations
authorSam Lantinga <slouken@libsdl.org>
Thu, 10 Dec 2009 08:28:26 +0000
changeset 3537 e897a4a9f578
parent 3536 0267b8b1595c
child 3538 a1896642a47e
Switch to mixed case for consistency with other enumerations
include/SDL_audio.h
src/audio/SDL_audio.c
--- a/include/SDL_audio.h	Wed Dec 09 15:56:56 2009 +0000
+++ b/include/SDL_audio.h	Thu Dec 10 08:28:26 2009 +0000
@@ -356,10 +356,10 @@
     SDL_AUDIO_STOPPED = 0,
     SDL_AUDIO_PLAYING,
     SDL_AUDIO_PAUSED
-} SDL_audiostatus;
-extern DECLSPEC SDL_audiostatus SDLCALL SDL_GetAudioStatus(void);
+} SDL_AudioStatus;
+extern DECLSPEC SDL_AudioStatus SDLCALL SDL_GetAudioStatus(void);
 
-extern DECLSPEC SDL_audiostatus SDLCALL
+extern DECLSPEC SDL_AudioStatus SDLCALL
 SDL_GetAudioDeviceStatus(SDL_AudioDeviceID dev);
 /*@}*//*Audio State*/
 
--- a/src/audio/SDL_audio.c	Wed Dec 09 15:56:56 2009 +0000
+++ b/src/audio/SDL_audio.c	Thu Dec 10 08:28:26 2009 +0000
@@ -1043,11 +1043,11 @@
                              allowed_changes, 2);
 }
 
-SDL_audiostatus
+SDL_AudioStatus
 SDL_GetAudioDeviceStatus(SDL_AudioDeviceID devid)
 {
     SDL_AudioDevice *device = get_audio_device(devid);
-    SDL_audiostatus status = SDL_AUDIO_STOPPED;
+    SDL_AudioStatus status = SDL_AUDIO_STOPPED;
     if (device && device->enabled) {
         if (device->paused) {
             status = SDL_AUDIO_PAUSED;
@@ -1059,7 +1059,7 @@
 }
 
 
-SDL_audiostatus
+SDL_AudioStatus
 SDL_GetAudioStatus(void)
 {
     return SDL_GetAudioDeviceStatus(1);