It should be possible to pick your output by setting environment variables
for SDL:
------
http://www.libsdl.org/docs/html/sdlenvvars.html

pygame (and the underlying SDL 1.2) can't play to multiple output devices


As far as other libraries with device selection and multiple stream
capabilities, PyAudio can record and playback on any audio devices you
choose and multiple at once, but I don't think it's mixing capabilities are
as simple as pygame, so it would probably be a bit more work for you.

On Tue, Jul 5, 2011 at 4:12 AM, Mark Wexler <mark.wex...@gmail.com> wrote:

> Hello, everyone. I have two sound cards in my computer, the built-in
> one and a USB headset. Is it possible to select which one pygame.mixer
> outputs to? Or, even better, to output separate streams to the two
> cards? If it's not possible in pygame, does anyone know of any other
> Python (or otherwise) library that could do this for me?
>
> Thanks a lot,
> Mark
>
> --
> Mark Wexler
> Laboratoire Psychologie de la Perception
> CNRS - Université Paris Descartes
> 45, rue des Saints-Pères
> 75006 Paris, France
> http://wexler.free.fr
>

Reply via email to