# HG changeset patch # User Sam Lantinga # Date 1260433706 0 # Node ID e897a4a9f578414debc0783536fe6bec9535f3ce # Parent 0267b8b1595c8f7302f69fb2350e02711d103575 Switch to mixed case for consistency with other enumerations diff -r 0267b8b1595c -r e897a4a9f578 include/SDL_audio.h --- 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*/ diff -r 0267b8b1595c -r e897a4a9f578 src/audio/SDL_audio.c --- 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);