Mercurial > sdl-ios-xcode
comparison src/audio/dsp/SDL_dspaudio.c @ 3798:c8b3d3d13ed1 SDL-ryan-multiple-audio-device
Audio bootstraps can now specify that a driver is only to be used if
explicitly requested (for things like the "disk" driver that is always
available but you would never want to default to using).
Trimmed out code that can be handled by stubs in the core. The "dummy" driver
is pretty damned small now. :)
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 04 Oct 2006 21:27:53 +0000 |
parents | 589bc3d060cd |
children | 2c5387c0a642 |
comparison
equal
deleted
inserted
replaced
3797:9dc81c6acaf5 | 3798:c8b3d3d13ed1 |
---|---|
101 } | 101 } |
102 | 102 |
103 | 103 |
104 AudioBootStrap DSP_bootstrap = { | 104 AudioBootStrap DSP_bootstrap = { |
105 DSP_DRIVER_NAME, "OSS /dev/dsp standard audio", | 105 DSP_DRIVER_NAME, "OSS /dev/dsp standard audio", |
106 DSP_Available, DSP_Init | 106 DSP_Available, DSP_Init, 0 |
107 }; | 107 }; |
108 | 108 |
109 | 109 |
110 static int | 110 static int |
111 DSP_DetectDevices(int iscapture) | 111 DSP_DetectDevices(int iscapture) |