Mercurial > sdl-ios-xcode
comparison src/audio/dma/SDL_dmaaudio.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 |
---|---|
522 impl->GetDeviceBuf = DMA_GetDeviceBuf; | 522 impl->GetDeviceBuf = DMA_GetDeviceBuf; |
523 impl->CloseDevice = DMA_CloseDevice; | 523 impl->CloseDevice = DMA_CloseDevice; |
524 impl->Deinitialize = DMA_Deinitialize; | 524 impl->Deinitialize = DMA_Deinitialize; |
525 | 525 |
526 build_device_lists(); | 526 build_device_lists(); |
527 return (outputDeviceCount > 0) ? 2 : 1; | 527 |
528 return 1; /* this audio target is available. */ | |
528 } | 529 } |
529 | 530 |
530 AudioBootStrap DMA_bootstrap = { | 531 AudioBootStrap DMA_bootstrap = { |
531 DMA_DRIVER_NAME, "OSS /dev/dsp DMA audio", DMA_Init, 0 | 532 DMA_DRIVER_NAME, "OSS /dev/dsp DMA audio", DMA_Init, 0 |
532 }; | 533 }; |