Well, whaddyaknow.. it works.

More cleanup needed: need to dlopen()-ize the pulseaudio stuff
master
Tofu Linden 2010-02-22 14:19:10 +00:00
parent 66162bfca3
commit b2fbb28dc9
1 changed files with 0 additions and 1 deletions

View File

@ -233,7 +233,6 @@ void callback_discovered_sinkinput(pa_context *context, const pa_sink_input_info
{
pa_proplist *proplist = sii->proplist;
pid_t sinkpid = atoll(pa_proplist_gets(proplist, PA_PROP_APPLICATION_PROCESS_ID));
fprintf(stderr, "Found sinkinput #%d, name=%s, pid=%d\t", sii->index, sii->name, int(sinkpid));
if (sinkpid == getpid()) // does the discovered sinkinput belong to this process?
{