comparison src/audio/dummy/SDL_dummyaudio.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
39 DUMMYAUD_Init(SDL_AudioDriverImpl * impl) 39 DUMMYAUD_Init(SDL_AudioDriverImpl * impl)
40 { 40 {
41 /* Set the function pointers */ 41 /* Set the function pointers */
42 impl->OpenDevice = DUMMYAUD_OpenDevice; 42 impl->OpenDevice = DUMMYAUD_OpenDevice;
43 impl->OnlyHasDefaultOutputDevice = 1; 43 impl->OnlyHasDefaultOutputDevice = 1;
44 return 1; 44 return 1; /* this audio target is available. */
45 } 45 }
46 46
47 AudioBootStrap DUMMYAUD_bootstrap = { 47 AudioBootStrap DUMMYAUD_bootstrap = {
48 "dummy", "SDL dummy audio driver", DUMMYAUD_Init, 1 48 "dummy", "SDL dummy audio driver", DUMMYAUD_Init, 1
49 }; 49 };