play sound on Ubuntu 10.4. (pulse audio?)
news1234 at free.fr
Sun Sep 12 14:53:31 CEST 2010
On 09/11/2010 11:42 PM, Tim Harig wrote:
> On 2010-09-11, News123 <news1234 at 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:
> and it's python bindings:
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.
pcm = ao.AudioDevice("pulse", bits=16, rate=sample,
pcmdata = create_pcmdata()
More information about the Python-list