We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 43 - Add a way to enumerate and select audio/video/etc drivers.
Summary: Add a way to enumerate and select audio/video/etc drivers.
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: 2.0.0
Hardware: All All
: P2 API change
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
: 54 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-12 17:25 UTC by Ryan C. Gordon
Modified: 2006-05-20 00:35 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan C. Gordon 2006-01-12 17:25:17 UTC
So we can sanity check the final binaries for missing targets, and also so these can be programmatically discovered and chosen (environment variables don't count!).

--ryan.
Comment 1 Sam Lantinga 2006-01-19 07:45:22 UTC
*** Bug 54 has been marked as a duplicate of this bug. ***
Comment 2 Ryan C. Gordon 2006-01-27 11:23:14 UTC
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.

Comment 3 Max Horn 2006-04-17 03:49:31 UTC
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...
Comment 4 Sam Lantinga 2006-05-20 00:35:45 UTC
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()