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.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404455
This commit is contained in:
Ryan C. Gordon 2010-01-26 06:01:33 +00:00
parent 3ec28279e8
commit edb477343d
22 changed files with 26 additions and 50 deletions

View file

@ -444,7 +444,8 @@ BSDAUDIO_Init(SDL_AudioDriverImpl * impl)
impl->Deinitialize = BSDAUDIO_Deinitialize;
build_device_lists();
return (outputDeviceCount > 0) ? 2 : 1;
return 1; /* this audio target is available. */
}