]> code.delx.au - pulseaudio/commit
revive solaris module
authorFinn Thain <fthain@telegraphics.com.au>
Thu, 26 Feb 2009 05:48:58 +0000 (16:48 +1100)
committerLennart Poettering <lennart@poettering.net>
Tue, 3 Mar 2009 21:27:00 +0000 (22:27 +0100)
commit0329edd1791e3c8fbed33f266d86cae6b91a5556
treeb953cef1450d5aa7763e8d6b16d1c7f100d82c31
parentff38eaf67773e0039befb95c0f9ad91e7a06fc3f
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
bootstrap.sh
configure.ac
src/Makefile.am
src/daemon/daemon-conf.c
src/daemon/daemon-conf.h
src/daemon/main.c
src/modules/module-solaris.c
src/modules/raop/raop_client.c
src/modules/rtp/rtsp_client.c
src/pulsecore/core-util.c
src/pulsecore/rtclock.c