Mercurial > sdl-ios-xcode
comparison src/audio/windx5/SDL_dx5audio.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 | 327f181542f1 |
comparison
equal
deleted
inserted
replaced
3698:17376128fb56 | 3699:4160ba33b597 |
---|---|
506 impl->GetDeviceBuf = DSOUND_GetDeviceBuf; | 506 impl->GetDeviceBuf = DSOUND_GetDeviceBuf; |
507 impl->CloseDevice = DSOUND_CloseDevice; | 507 impl->CloseDevice = DSOUND_CloseDevice; |
508 impl->Deinitialize = DSOUND_Deinitialize; | 508 impl->Deinitialize = DSOUND_Deinitialize; |
509 impl->OnlyHasDefaultOutputDevice = 1; /* !!! FIXME */ | 509 impl->OnlyHasDefaultOutputDevice = 1; /* !!! FIXME */ |
510 | 510 |
511 /* !!! FIXME: not right for device enum? */ | 511 return 1; /* this audio target is available. */ |
512 return 1; | |
513 } | 512 } |
514 | 513 |
515 AudioBootStrap DSOUND_bootstrap = { | 514 AudioBootStrap DSOUND_bootstrap = { |
516 "dsound", WINDOWS_OS_NAME "DirectSound", DSOUND_Init, 0 | 515 "dsound", WINDOWS_OS_NAME "DirectSound", DSOUND_Init, 0 |
517 }; | 516 }; |