Mercurial > sdl-ios-xcode
comparison src/audio/iphoneos/SDL_coreaudio_iphone.c @ 3699:4160ba33b597
Removed test for "driver is valid, but doesn't see any audio devices."
It was causing problems, and it really doesn't make sense to do it that way.
Fixes Bugzilla #834.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Tue, 26 Jan 2010 06:01:33 +0000 |
parents | f7b03b6838cb |
children | b530ef003506 |
comparison
equal
deleted
inserted
replaced
3698:17376128fb56 | 3699:4160ba33b597 |
---|---|
327 /* added for iPhone */ | 327 /* added for iPhone */ |
328 impl->OnlyHasDefaultInputDevice = 1; | 328 impl->OnlyHasDefaultInputDevice = 1; |
329 impl->OnlyHasDefaultOutputDevice = 1; | 329 impl->OnlyHasDefaultOutputDevice = 1; |
330 impl->HasCaptureSupport = 0; /* still needs to be written */ | 330 impl->HasCaptureSupport = 0; /* still needs to be written */ |
331 | 331 |
332 return 2; /* defitely have an audio device. */ | 332 return 1; /* this audio target is available. */ |
333 } | 333 } |
334 | 334 |
335 AudioBootStrap COREAUDIOIPHONE_bootstrap = { | 335 AudioBootStrap COREAUDIOIPHONE_bootstrap = { |
336 "coreaudio-iphoneos", "SDL CoreAudio (iPhone OS) audio driver", | 336 "coreaudio-iphoneos", "SDL CoreAudio (iPhone OS) audio driver", |
337 COREAUDIO_Init, 0 | 337 COREAUDIO_Init, 0 |