Mercurial > sdl-ios-xcode
comparison src/audio/dsp/SDL_dspaudio.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 |
---|---|
379 impl->GetDeviceBuf = DSP_GetDeviceBuf; | 379 impl->GetDeviceBuf = DSP_GetDeviceBuf; |
380 impl->CloseDevice = DSP_CloseDevice; | 380 impl->CloseDevice = DSP_CloseDevice; |
381 impl->Deinitialize = DSP_Deinitialize; | 381 impl->Deinitialize = DSP_Deinitialize; |
382 | 382 |
383 build_device_lists(); | 383 build_device_lists(); |
384 return (outputDeviceCount > 0) ? 2 : 1; | 384 |
385 return 1; /* this audio target is available. */ | |
385 } | 386 } |
386 | 387 |
387 | 388 |
388 AudioBootStrap DSP_bootstrap = { | 389 AudioBootStrap DSP_bootstrap = { |
389 DSP_DRIVER_NAME, "OSS /dev/dsp standard audio", DSP_Init, 0 | 390 DSP_DRIVER_NAME, "OSS /dev/dsp standard audio", DSP_Init, 0 |