<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<span class="Apple-style-span"
 style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span
 class="Apple-style-span" style="font-family: monospace;">
<pre>Lennart Poettering wrote:
&gt; On Wed, 23.01.08 14:36, Hynek Hanke ([EMAIL PROTECTED]) wrote:
&gt; 
&gt; Hi!
&gt; 
&gt;&gt; please, I just want to ask if there is some Python programming interface 
&gt;&gt; to PulseAudio or some bindings for the C library that one could use?
&gt; 
&gt; I (as the maintainer of PA) am not aware of any such bindings.

I found some minimal bindings in lib_pulseaudio.py which is part of:
<a class="moz-txt-link-freetext" href="http://code.google.com/p/gnome-pulse-applet/">http://code.google.com/p/gnome-pulse-applet/</a>

I also had a go using swig and ctypes, but all I managed to do was to get the list of input and output devices... I've put the code here if anyone wants to see:
<a class="moz-txt-link-freetext" href="http://random.devloop.org.uk/goodies/python-pulseaudio/">http://random.devloop.org.uk/goodies/python-pulseaudio/</a>

I think this will be enough for my needs, but a proper wrapper API would be nice to have..

Cheers
Antoine

</pre>
</span></span>
</body>
</html>