From e2e8d0077a694b407f951d3422fcf268beb10d55 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 7 Apr 2006 21:11:09 +0000 Subject: * add copyright blurb to source files * fix included headers for newest polypaudio API git-svn-id: file:///home/lennart/svn/public/paman/trunk@51 cdefa82f-4ce1-0310-97f5-ab6066f37c3c --- src/paman.cc | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) (limited to 'src/paman.cc') diff --git a/src/paman.cc b/src/paman.cc index 07eb06a..bc54e9d 100644 --- a/src/paman.cc +++ b/src/paman.cc @@ -1,11 +1,31 @@ +/* $Id$ */ + +/*** + This file is part of paman. + + paman is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published + by the Free Software Foundation; either version 2 of the License, + or (at your option) any later version. + + paman is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with paman; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + USA. +***/ + #include #include #include -#include +#include #include -#include #include "paman.hh" #include "SinkWindow.hh" @@ -80,7 +100,7 @@ void createConnection() { context = pa_context_new(mainloop_api, "Polypaudio Manager"); g_assert(context); pa_context_set_state_callback(context, context_state_callback, NULL); - pa_context_connect(context, NULL, 0, NULL); + pa_context_connect(context, NULL, (pa_context_flags_t) 0, NULL); } void killConnection() { -- cgit