Mercurial > sdl-ios-xcode
comparison src/audio/ums/SDL_umsaudio.c @ 2049:5f6550e5184f
Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Tue, 17 Oct 2006 09:15:21 +0000 |
parents | 4a32d186f35b |
children | e27bdcc80744 |
comparison
equal
deleted
inserted
replaced
2048:6067c7f9a672 | 2049:5f6550e5184f |
---|---|
1 /* I'm gambling no one uses this audio backend...we'll see who emails. :) */ | |
2 #error this code has not been updated for SDL 1.3. | |
3 #error if no one emails icculus at icculus.org and tells him that this | |
4 #error code is needed, this audio backend will eventually be removed from SDL. | |
5 | |
1 /* | 6 /* |
2 SDL - Simple DirectMedia Layer | 7 SDL - Simple DirectMedia Layer |
3 Copyright (C) 1997-2006 Sam Lantinga | 8 Copyright (C) 1997-2006 Sam Lantinga |
4 | 9 |
5 This library is free software; you can redistribute it and/or | 10 This library is free software; you can redistribute it and/or |
34 #include <sys/stat.h> | 39 #include <sys/stat.h> |
35 #include <sys/mman.h> | 40 #include <sys/mman.h> |
36 | 41 |
37 #include "SDL_audio.h" | 42 #include "SDL_audio.h" |
38 #include "../SDL_audio_c.h" | 43 #include "../SDL_audio_c.h" |
39 #include "../SDL_audiodev_c.h" | |
40 #include "SDL_umsaudio.h" | 44 #include "SDL_umsaudio.h" |
41 | 45 |
42 /* The tag name used by UMS audio */ | 46 /* The tag name used by UMS audio */ |
43 #define UMS_DRIVER_NAME "ums" | 47 #define UMS_DRIVER_NAME "ums" |
44 | 48 |
150 return this; | 154 return this; |
151 } | 155 } |
152 | 156 |
153 AudioBootStrap UMS_bootstrap = { | 157 AudioBootStrap UMS_bootstrap = { |
154 UMS_DRIVER_NAME, "AIX UMS audio", | 158 UMS_DRIVER_NAME, "AIX UMS audio", |
155 Audio_Available, Audio_CreateDevice | 159 Audio_Available, Audio_CreateDevice, 0 |
156 }; | 160 }; |
157 | 161 |
158 static Uint8 * | 162 static Uint8 * |
159 UMS_GetAudioBuf(_THIS) | 163 UMS_GetAudioBuf(_THIS) |
160 { | 164 { |