#78 RFE: Runtime detection of pulseaudio / portaudio

open-fixed
None
5
2011-09-16
2011-09-15
Yarda
No

RFE: add support for runtime detection of pulseaudio / portaudio.

There is patch contributed by Kevin Kofler in Fedora:
http://bugzilla.redhat.com/show_bug.cgi?id=512190

The latest version of this patch is attached.

Discussion

  • These changes are now in eSpeak 1.45.43 at
    http://espeak.sf.net/test/latest.html

    I found that on my system (Kubuntu), the link options: -lpulse -lpulse-simple give a "not found" error because the files are:
    /usr/lib/libpulse.so.0
    /usr/lib/libpulse-simple.so.0
    rather than
    /usr/lib/libpulse.so
    /usr/lib/libpulse-simple.so

    Does this mean that the makefile (on my system) needs;
    LIB_AUDIO= /usr/lib/libpulse.so.0 /usr/lib/libpulse-simple.so.0 /usr/lib/libportaudio.so.2

    or is these a better way of doing this?

     
    • assigned_to: nobody --> jonsd
    • status: open --> open-fixed
     
  • Yarda
    Yarda
    2011-09-16

    AFAIK the best is to fill it by pkg-config, e.g. the following should work (tested on Fedora):
    LIB_AUDIO=$(shell pkg-config --libs libpulse libpulse-simple portaudio-2.0)