"Dalleau, Frederic" <frederic.dalleau at intel.com> writes: > On Fri, Apr 20, 2012 at 10:04 AM, Diogo F. S. Ramos <diogofsr at 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. Nice, thank you. I see it uses a glib variation. For my application, I'm not interested in using GTK. Is it still advised to use glib? Reading some of the sources I see the usage of sockets (src/utils/pacmd.c) and not glib (src/utils/pactl.c). -- Diogo F. S. Ramos