Re: [Csnd-dev] CsoundAndroid getChannel problem

Steven Yi <[email protected]>
Newsgroups gmane.comp.audio.csound.devel
Message-ID <CANtcCs61uTAJdDn6_09D+Qen3TJgXaknbnJHJ832v4TLSz4MiA@mail.gmail.com>
Only thing I can think of from the top of my head is checking if USE_DOUBLE
is set correctly.

On Thu, Sep 7, 2023 at 4:58 PM Tarmo Johannes <[email protected]> wrote:

> Hi!
>
> It is probably hard to guess but does anyone have a clue?
>
> I am working on a Qt based Csound project that I want to make work on both
> desktop and Android. I use the Csound API via C++ (thus no Java), including
> AndroidCsound.hpp and linking against the -lcsoundandroid -lsndfile
> -lc++_shared libraries.  CsoundAndroid is  from official Csound downloads:
>
> https://github.com/csound/csound/releases/download/6.18.0/csound-android-6.18.0.zip
>
> Everything works fine but I discovered Csound->GetChannel is
> malfunctioning  - it return always a very small number as if reading from
> some wrong place in the memory. No error messages.
> On desktop it works as expected.
>
> I remembered to have GetChannel functioning correctly in the past, I built
> the app with csound-android-6.12.0 (that used to work) and everything was
> correct.
>
> I tried to make a build with 6.16 and 6.17 to figure out when the change
> can have happened but these builds caused some runtime errors (dlopen
> failed: cannot locate symbol "__emutls_get_address") and I gave up.
>
> If it of any help, the project is up on:
> https://github.com/tarmoj/harmonicsPractice/
>
> In this case it is fine for me to stick with 6.12 but would be better to
> figure out, where is the reason.
>
> Do you have any idea?
>
> Thanks!
> tarmo
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.