Mercurial > sdl-ios-xcode
comparison src/audio/dc/SDL_dcaudio.c @ 3852:5b5e549382b3 SDL-1.2
Removed some new 1.3 symbols from code backported to 1.2.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sun, 03 Sep 2006 21:34:11 +0000 |
parents | 405a192b68e7 |
children | a1b03ba2fcd0 |
comparison
equal
deleted
inserted
replaced
3851:405a192b68e7 | 3852:5b5e549382b3 |
---|---|
199 } | 199 } |
200 } | 200 } |
201 | 201 |
202 static int DCAUD_OpenAudio(_THIS, SDL_AudioSpec *spec) | 202 static int DCAUD_OpenAudio(_THIS, SDL_AudioSpec *spec) |
203 { | 203 { |
204 SDL_AudioFormat test_format = SDL_FirstAudioFormat(spec->format); | 204 Uint16 test_format = SDL_FirstAudioFormat(spec->format); |
205 int valid_datatype = 0; | 205 int valid_datatype = 0; |
206 while ((!valid_datatype) && (test_format)) { | 206 while ((!valid_datatype) && (test_format)) { |
207 spec->format = test_format; | 207 spec->format = test_format; |
208 switch (test_format) { | 208 switch (test_format) { |
209 /* only formats Dreamcast accepts... */ | 209 /* only formats Dreamcast accepts... */ |