Skip to content
  • Finn Thain's avatar
    revive solaris module · 0329edd1
    Finn Thain authored and Lennart Poettering's avatar Lennart Poettering committed
    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
    0329edd1