I knew there was a better link. Still might be more details in the source.
http://www.libsdl.org/cgi/docwiki.cgi/SDL_envvars
On 05/26/2010 07:48 PM, Peter Shinners wrote:
The best you are going to get is controlling SDL through environment
variables. The good news is that you can make calls to os.putenv
before initializing the pygame modules. I'm pretty sure you can even
quit() the modules, change environment variables, then re-init().
Take a look here, but I think you mainly go for SDL_AUDIODRIVER, DSP,
SDL_DSP_NO_SELECT, SDL_PATH_DSP, etc. I'd suggest you actually look
into the SDL source code for the specific audio driver you are using.
I'm suspecting ALSA, Pulse, OSS, and others have their own specific
environment variables?
http://www.libsdl.org/cgi/docwiki.cgi/Environment_variables
On 05/25/2010 11:26 PM, [email protected] wrote:
Greetings all,
Glad to have found this mailing group. Never new it existed! Someone
at www.pyedpypers.org recommended it. Looks like a great group.
Can anyone help with this one...?!?
I have programmed a little audio mixing tool using python, WXpython
(for the interface) and pygame (for audio mixing and output).
You can see it at:
www.syrinscape.com
...if you want to get an idea of how it works etc...
Some of my users have asked me to add the capability to select which
audio device (sound card) to output the audio to. I see that pymedia
can do this...
Can pygame do this?
I am using channels to mix together different sound effects
(channel.play).
Can anyone help?
Most appreciatively in advance,
Benjamin