comparison src/audio/esd/SDL_esdaudio.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
339 impl->GetDeviceBuf = ESD_GetDeviceBuf; 339 impl->GetDeviceBuf = ESD_GetDeviceBuf;
340 impl->CloseDevice = ESD_CloseDevice; 340 impl->CloseDevice = ESD_CloseDevice;
341 impl->Deinitialize = ESD_Deinitialize; 341 impl->Deinitialize = ESD_Deinitialize;
342 impl->OnlyHasDefaultOutputDevice = 1; 342 impl->OnlyHasDefaultOutputDevice = 1;
343 343
344 return 2; /* return 2 (definitely have a "device"). */ 344 return 1; /* this audio target is available. */
345 } 345 }
346 346
347 347
348 AudioBootStrap ESD_bootstrap = { 348 AudioBootStrap ESD_bootstrap = {
349 ESD_DRIVER_NAME, "Enlightened Sound Daemon", ESD_Init, 0 349 ESD_DRIVER_NAME, "Enlightened Sound Daemon", ESD_Init, 0