Enviorment Variables

Excuse the cross post, it seemed relevant.

I just finished poking through the documentation for smpeg and SDL. Mostly
it seems geared tward developing with SDL. I have noticed that it’s often
setting an enviorment variable that fixes user problems (disabling hardware
mpeg acceleration, speciving audio device, etc.) So I’m wondering if there
is a list of enviorment variables somewhere (maybe with breif discriptions)
Maybe they’re in the headers but I don’t have the source handy at the
moment. :)–
Andrew S. Zbikowski | Home: 763.591.0977
http://www.ringworld.org | Work: 763.428.9119
http://www.itouthouse.com | PCS: 612.306.6055
Despite all my rage I am still just a first level mage.

Excuse the cross post, it seemed relevant.

I just finished poking through the documentation for smpeg and SDL. Mostly
it seems geared tward developing with SDL. I have noticed that it’s often
setting an enviorment variable that fixes user problems (disabling hardware
mpeg acceleration, speciving audio device, etc.) So I’m wondering if there
is a list of enviorment variables somewhere (maybe with breif discriptions)
Maybe they’re in the headers but I don’t have the source handy at the
moment. :slight_smile:

Not at the moment, but most of them are in the FAQ:
http://www.libsdl.org/faqs.html

The use of environment variables is discouraged since they may go away
or rely on implmentation dependent behavior, but if you need something,
try looking in the FAQ first and then poke around the source if you can’t
find what you need. Always check first to make sure there isn’t an API
covering the behavior you’re looking for.

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Thanks. Right now I’m running with SDL_VIDEO_YUV_HWACCEL=0 as hardware
playback on my TNT2 doesn’t seem to work, and at one point I could only get
sound out of sld games by telling it to put it through esd. (Darn
Vortex2…grumble cuss.) And was just curious as to what other setting
there were. :)–
Andrew S. Zbikowski
http://www.ringworld.org http://www.itouthouse.com
o/~ Despite all my rage I am still just a first level mage. o/~