[Vala] pulseaudio example

2011-05-22 Thread august
I thought this might be useful for others. PulseAudio comes with vapi bindings, but without any examples. Here is a simple example that uses their callback api to generate and play a sine wave. http://pastebin.com/h92TT5hD maybe one could put it in the gnome live examples page. best

Re: [Vala] pulseaudio example

2011-05-22 Thread Luca Bruno
On Sun, May 22, 2011 at 10:53:07PM +0200, august wrote: I thought this might be useful for others. PulseAudio comes with vapi bindings, but without any examples. Here is a simple example that uses their callback api to generate and play a sine wave. http://pastebin.com/h92TT5hD