comparison src/audio/macosx/SDL_coreaudio.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 514f811a4887
comparison
equal deleted inserted replaced
3698:17376128fb56 3699:4160ba33b597
572 impl->Deinitialize = COREAUDIO_Deinitialize; 572 impl->Deinitialize = COREAUDIO_Deinitialize;
573 impl->ProvidesOwnCallbackThread = 1; 573 impl->ProvidesOwnCallbackThread = 1;
574 574
575 build_device_lists(); /* do an initial check for devices... */ 575 build_device_lists(); /* do an initial check for devices... */
576 576
577 return (outputDeviceCount > 0) ? 2 : 1; 577 return 1; /* this audio target is available. */
578 } 578 }
579 579
580 AudioBootStrap COREAUDIO_bootstrap = { 580 AudioBootStrap COREAUDIO_bootstrap = {
581 "coreaudio", "Mac OS X CoreAudio", COREAUDIO_Init, 0 581 "coreaudio", "Mac OS X CoreAudio", COREAUDIO_Init, 0
582 }; 582 };