Mercurial > sdl-ios-xcode
comparison src/audio/mme/SDL_mmeaudio.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 |
---|---|
247 impl->PlayDevice = MME_PlayDevice; | 247 impl->PlayDevice = MME_PlayDevice; |
248 impl->GetDeviceBuf = MME_GetDeviceBuf; | 248 impl->GetDeviceBuf = MME_GetDeviceBuf; |
249 impl->CloseDevice = MME_CloseDevice; | 249 impl->CloseDevice = MME_CloseDevice; |
250 impl->OnlyHasDefaultOutputDevice = 1; | 250 impl->OnlyHasDefaultOutputDevice = 1; |
251 | 251 |
252 return 1; | 252 return 1; /* this audio target is available. */ |
253 } | 253 } |
254 | 254 |
255 /* !!! FIXME: Windows "windib" driver is called waveout, too */ | 255 /* !!! FIXME: Windows "windib" driver is called waveout, too */ |
256 AudioBootStrap MMEAUDIO_bootstrap = { | 256 AudioBootStrap MMEAUDIO_bootstrap = { |
257 "waveout", "Tru64 MME WaveOut", MME_Init, 0 | 257 "waveout", "Tru64 MME WaveOut", MME_Init, 0 |