comparison src/audio/nds/SDL_ndsaudio.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
118 /* and the capabilities */ 118 /* and the capabilities */
119 impl->HasCaptureSupport = 1; 119 impl->HasCaptureSupport = 1;
120 impl->OnlyHasDefaultOutputDevice = 1; 120 impl->OnlyHasDefaultOutputDevice = 1;
121 impl->OnlyHasDefaultInputDevice = 1; 121 impl->OnlyHasDefaultInputDevice = 1;
122 122
123 return 2; /* 2 == definitely has an audio device. */ 123 return 1; /* this audio target is available. */
124 } 124 }
125 125
126 AudioBootStrap NDSAUD_bootstrap = { 126 AudioBootStrap NDSAUD_bootstrap = {
127 "nds", "SDL NDS audio driver", NDSAUD_Init, 0 /*1? */ 127 "nds", "SDL NDS audio driver", NDSAUD_Init, 0 /*1? */
128 }; 128 };