Mercurial > sdl-ios-xcode
comparison src/audio/nas/SDL_nasaudio.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 |
---|---|
396 impl->GetDeviceBuf = NAS_GetDeviceBuf; | 396 impl->GetDeviceBuf = NAS_GetDeviceBuf; |
397 impl->CloseDevice = NAS_CloseDevice; | 397 impl->CloseDevice = NAS_CloseDevice; |
398 impl->Deinitialize = NAS_Deinitialize; | 398 impl->Deinitialize = NAS_Deinitialize; |
399 impl->OnlyHasDefaultOutputDevice = 1; /* !!! FIXME: is this true? */ | 399 impl->OnlyHasDefaultOutputDevice = 1; /* !!! FIXME: is this true? */ |
400 | 400 |
401 return 2; /* 2 == definitely has an audio device. */ | 401 return 1; /* this audio target is available. */ |
402 } | 402 } |
403 | 403 |
404 AudioBootStrap NAS_bootstrap = { | 404 AudioBootStrap NAS_bootstrap = { |
405 NAS_DRIVER_NAME, "Network Audio System", NAS_Init, 0 | 405 NAS_DRIVER_NAME, "Network Audio System", NAS_Init, 0 |
406 }; | 406 }; |