Hi,

On Fri, Apr 20, 2012 at 10:04 AM, Diogo F. S. Ramos <diogo...@gmail.com> wrote:
> I'm trying to write a very simple volume control for pulseaudio but I'm
> having a really hard time figuring out the API. Is there some kind of
> "hello, world"? Something that just mute a sink and exit would be great.

There is a sample called tests/gtk-test.c which creates a context and
a mainloop.
It could be a good starting point for your needs.
With a bit of gtk, you can add a button and call something like
 pa_context_set_sink_mute_by_index in the callback!

Regards,
Frédéric
_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to