comparison src/audio/windib/SDL_dibaudio.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
325 impl->WaitDone = WINWAVEOUT_WaitDone; 325 impl->WaitDone = WINWAVEOUT_WaitDone;
326 impl->GetDeviceBuf = WINWAVEOUT_GetDeviceBuf; 326 impl->GetDeviceBuf = WINWAVEOUT_GetDeviceBuf;
327 impl->CloseDevice = WINWAVEOUT_CloseDevice; 327 impl->CloseDevice = WINWAVEOUT_CloseDevice;
328 impl->OnlyHasDefaultOutputDevice = 1; /* !!! FIXME: Is this true? */ 328 impl->OnlyHasDefaultOutputDevice = 1; /* !!! FIXME: Is this true? */
329 329
330 /* !!! FIXME: not right for device enum? */ 330 return 1; /* this audio target is available. */
331 return 1;
332 } 331 }
333 332
334 AudioBootStrap WINWAVEOUT_bootstrap = { 333 AudioBootStrap WINWAVEOUT_bootstrap = {
335 "waveout", WINDOWS_OS_NAME " WaveOut", WINWAVEOUT_Init, 0 334 "waveout", WINDOWS_OS_NAME " WaveOut", WINWAVEOUT_Init, 0
336 }; 335 };