| Summary: | Add a way to enumerate and select audio/video/etc drivers. | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Ryan C. Gordon <icculus> |
| Component: | *don't know* | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | API change | ||
| Priority: | P2 | CC: | max, slouken |
| Version: | 2.0.0 | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Ryan C. Gordon
2006-01-12 17:25:17 UTC
*** Bug 54 has been marked as a duplicate of this bug. *** Setting Sam as "QA Contact" on all bugs (even resolved ones) so he'll definitely be in the loop to any further discussion here about SDL. --ryan. Indeed, we've had to tell too many of our users (IMHO :-) about how to use those arcane SDL_* env vars to get ScummVM working on their system. It would be so much nicer if we could provide our own configuration option for this, w/o hacking up the env vars before calling SDL code... This is implemented in SDL 1.3:
Added SDL_GetNumVideoDrivers() and SDL_GetVideoDriver().
Replaced SDL_VideoDriverName() with SDL_GetCurrentVideoDriver()
Added SDL_GetNumAudioDrivers() and SDL_GetAudioDriver().
Replaced SDL_AudioDriverName() with SDL_GetCurrentAudioDriver()
You can already initialize specific drivers:
SDL_VideoInit(), SDL_AudioInit()
|