Hi Tim,
On 09/11/2010 11:42 PM, Tim Harig wrote: > On 2010-09-11, News123 <news1...@free.fr> wrote: >> What would be the way to detect how to play audio on a linux system >> without knowing ufront whether the system uses pulse, ALSA or whatever? > > I would suggest libao: > http://www.xiph.org/ao/ > and it's python bindings: > http://nixbit.com/cat/multimedia/audio/libao/ Thanks a lot. Yes, libao is a nice solution. After having fixed some audio setup issues on my PC I have now the ALSA and the libao solution working. import ao pcm = ao.AudioDevice("pulse", bits=16, rate=sample, channels=1, byte_format=1) pcmdata = create_pcmdata() pcm.play(pcmdata) -- http://mail.python.org/mailman/listinfo/python-list