Menu

Where are soundtouch_createInstance and friends?

fred vs
2017-10-31
2017-11-27
  • fred vs

    fred vs - 2017-10-31

    Hello.

    In previous soundtouch versions, in the compiled library there was those exported methods:

    nm -D libSoundTouch-old.so
    ...
    0000000000007743 T soundtouch_clear
    0000000000007365 T soundtouch_createInstance
    00000000000073f2 T soundtouch_destroyInstance
    00000000000076bc T soundtouch_flush
    00000000000077cf T soundtouch_getSetting
    0000000000007454 T soundtouch_getVersionId
    00000000000073fc T soundtouch_getVersionString
    0000000000007407 T soundtouch_getVersionString2
    000000000000792a T soundtouch_isEmpty
    00000000000078e1 T soundtouch_numSamples
    0000000000007811 T soundtouch_numUnprocessedSamples
    00000000000076f1 T soundtouch_putSamples
    000000000000785a T soundtouch_receiveSamples
    0000000000007642 T soundtouch_setChannels
    0000000000007573 T soundtouch_setPitch
    00000000000075b8 T soundtouch_setPitchOctaves
    00000000000075fd T soundtouch_setPitchSemiTones
    000000000000745f T soundtouch_setRate
    00000000000074e9 T soundtouch_setRateChange
    000000000000767f T soundtouch_setSampleRate
    0000000000007787 T soundtouch_setSetting
    00000000000074a4 T soundtouch_setTempo
    000000000000752e T soundtouch_setTempoChange

    But in last version those methods are not exported anymore.
    I did:

    • ./bootstrap
    • ./configure
    • make

    Did I miss something to get those methods back?

    Thanks.

    Fre;D
    https://github.com/fredvs/uos

     
  • oparviai

    oparviai - 2017-10-31

    These functions are in SoundTouchDLL.cpp.

    I wonder which earlier specific soundtouch version are you referring to?

     
  • fred vs

    fred vs - 2017-11-04

    Hello.

    Thanks for answer (and sorry for the delay).

    These functions are in SoundTouchDLL.cpp

    Huh, I did follow advice from configure-file-README.txt ---->


    "Starting from SoundTouch 1.6.0, the "configure" file is removed from the source code package due to autoconf/automake version conflicts.

    Instead, generate the "configure" file using local tools by invoking "./bootstrap" script, then configure & compile as usual."


    After 'make', /soundtouch/source/SoundTouch/.libs/libSoundTouch.so.1.0.0. is created.

    But, like explained in first post, some methods are not exported.

    Must I compile something else ?

    I wonder which earlier specific soundtouch version are you referring to?

    The last time I did compile SoundTouch was +- 2 years ago,

    Thanks.

    Fre;D

     
  • fred vs

    fred vs - 2017-11-04

    Re-hello.

    I did download last trunk version.

    And in soundtouch-code-260-trunk/source/SoundTouchDLL there is make-gnu-dll.sh.

    .... Ok, I dare.

    I did # ./make-gnu-dll.sh and...

    Magic ----> SoundTouchDll.so is there with the missing methods. ;-)

    Perfect and many thanks Olli

    Other thing...

    Could it be possible to add also GetBPM() method ?

    Fre;D

     

Log in to post a comment.