diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2009-02-26 16:48:58 +1100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-03-03 22:27:00 +0100 |
commit | 0329edd1791e3c8fbed33f266d86cae6b91a5556 (patch) | |
tree | b953cef1450d5aa7763e8d6b16d1c7f100d82c31 /src/modules/raop | |
parent | ff38eaf67773e0039befb95c0f9ad91e7a06fc3f (diff) |
revive solaris module
Hi All,
This patch fixes the solaris audio device source and sink, and fixes some
portability issues that break the build on solaris. Questions and comments
welcomed.
I've tested this patch only with OpenSolaris Express snv 103. Eventually I
hope to be able to test a few older releases and older hardware (though it
is hard to say whether there is much interest in those).
This is my first brush with pulseaudio and so I read the wiki docs and
some of the source code but I'm still unsure of a few things. In
particular I'm wondering about rewind processing, corking and what (if
anything) the module needs for those. I'm also unclear on the implications
of thread_info.buffer_size, .fragment_size and .max_request, and whether
my code is correct or not.
This patch disables link map/library versioning unless ld is GNU ld.
Another approach for solaris would be to use that linker's -M option, but
I couldn't make that work (due to undefined mainloop, browse and simple
symbols when linking pacat. I can post the errors if anyone is intested.)
Thanks,
Finn Thain
Diffstat (limited to 'src/modules/raop')
-rw-r--r-- | src/modules/raop/raop_client.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/raop/raop_client.c b/src/modules/raop/raop_client.c index 8e59a5773..b3f243c35 100644 --- a/src/modules/raop/raop_client.c +++ b/src/modules/raop/raop_client.c @@ -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" |