diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-03-04 22:07:56 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-03-04 22:07:56 +0100 |
commit | dcee8888650583abd106f818ee56d5dff9028bba (patch) | |
tree | 0c37a0f0d2766b5a00a74bc0d3a0a6d5b03a189a /src/modules/raop/raop_client.c | |
parent | 3dd8800e6d0ab1f11e981d368ec2bef38c88ce99 (diff) | |
parent | 656fc6660fac6ad4524fd2b679cbd35c69033d3b (diff) |
Merge branch 'master' of ssh://rootserver/home/lennart/git/public/pulseaudio
Diffstat (limited to 'src/modules/raop/raop_client.c')
-rw-r--r-- | src/modules/raop/raop_client.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/modules/raop/raop_client.c b/src/modules/raop/raop_client.c index 4627545e..b3f243c3 100644 --- a/src/modules/raop/raop_client.c +++ b/src/modules/raop/raop_client.c @@ -5,7 +5,7 @@ PulseAudio 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, + by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. PulseAudio is distributed in the hope that it will be useful, but @@ -51,7 +51,12 @@ #include <pulsecore/macro.h> #include <pulsecore/strbuf.h> #include <pulsecore/random.h> + +#ifdef HAVE_POLL_H +#include <poll.h> +#else #include <pulsecore/poll.h> +#endif #include "raop_client.h" #include "rtsp_client.h" @@ -339,9 +344,13 @@ static void rtsp_cb(pa_rtsp_client *rtsp, pa_rtsp_state state, pa_headerlist* he break; case STATE_TEARDOWN: + pa_log_debug("RAOP: TEARDOWN"); + break; + case STATE_SET_PARAMETER: pa_log_debug("RAOP: SET_PARAMETER"); break; + case STATE_DISCONNECTED: pa_assert(c->closed_callback); pa_assert(c->rtsp); |