comparison src/audio/bsd/SDL_bsdaudio.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
442 impl->GetDeviceBuf = BSDAUDIO_GetDeviceBuf; 442 impl->GetDeviceBuf = BSDAUDIO_GetDeviceBuf;
443 impl->CloseDevice = BSDAUDIO_CloseDevice; 443 impl->CloseDevice = BSDAUDIO_CloseDevice;
444 impl->Deinitialize = BSDAUDIO_Deinitialize; 444 impl->Deinitialize = BSDAUDIO_Deinitialize;
445 445
446 build_device_lists(); 446 build_device_lists();
447 return (outputDeviceCount > 0) ? 2 : 1; 447
448 return 1; /* this audio target is available. */
448 } 449 }
449 450
450 451
451 AudioBootStrap BSD_AUDIO_bootstrap = { 452 AudioBootStrap BSD_AUDIO_bootstrap = {
452 BSD_AUDIO_DRIVER_NAME, BSD_AUDIO_DRIVER_DESC, BSDAUDIO_Init, 0 453 BSD_AUDIO_DRIVER_NAME, BSD_AUDIO_DRIVER_DESC, BSDAUDIO_Init, 0