| Thanks Felipe,
I'm working on implementing this now. I implemented using an extra macro:
#ifdef FLOAT_VERSION_H_DOUBLE
#ifndef USE_DOUBLE
#define USE_DOUBLE
#endif
#endif
where the FLOAT_VERSION_H_DOUBLE is defined or not from
configure_file(). So far it looks like it is working. I need to test
that it is included correctly on install, and then have to modify the
release script for iOS, and build scripts for Android and PNaCl to use
a pre-made header that is empty (so as to default to float instead of
double).
I'll report again when completed, thanks!
steven
On Mon, Apr 28, 2014 at 4:44 PM, Felipe Sateler wrote:
> Yes, that is exactly what I'm thinking.
>
> You can look at the feature/config-h branch, the following commits
> should provide reasonable template to start from:
>
> https://github.com/csound/csound/commit/3d7652c27dfbd6647a1bbe626a7242e3eb8cab3b
> https://github.com/csound/csound/commit/66e9be69107b131dbe7edc02714ed1c46a00151e
>
> The include path is already set to include the root build dir, because
> we need it for the flex/bison generated headers.
>
>
> On Mon, Apr 28, 2014 at 4:32 PM, Steven Yi wrote:
>> Hi Felipe,
>>
>> That sounds like a good solution. So we'd have a float-version.h.in,
>> generate the right header, and add that to the csheaders list in
>> include/CMakeLists.txt? (and add include_path to the generated
>> header). That sounds good to me. I think we were looking to start
>> the release a bit sooner than the weekend though. If the above sounds
>> like what you were thinking, I can take some time tonight or tomorrow
>> to look into it.
>>
>> steven
>>
>> On Mon, Apr 28, 2014 at 4:21 PM, Felipe Sateler wrote:
>>> I think the correct fix is to make float-version.h a build artifact so
>>> that it defines USE_DOUBLE if cmake was told to use doubles.
>>>
>>> I can probably get to this during the weekend.
>>>
>>> On Mon, Apr 28, 2014 at 4:02 PM, Victor Lazzarini
>>> wrote:
>>>> This is something we need to solve.In Csound 5, I had the installer copying the correct float-version.h to the framework, but that
>>>> has not been done in 6. So far, whenever we need to build against the installed Csound, if it’s doubles, we need to add
>>>> -DUSE_DOUBLE to the build. That’s not ideal. I think we need to find a way to make installer select and install
>>>> the correct header (float-version-double.h) as float-version.h in the case of doubles.
>>>>
>>>> I had changed float-version.h to default to doubles, but I forgot about the android build, so I reverted.
>>>>
>>>> ========================
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> NUI Maynooth, Ireland
>>>> victor dot lazzarini at nuim dot ie
>>>>
>>>>
>>>>
>>>>
>>>> On 28 Apr 2014, at 20:33, Steven Yi wrote:
>>>>
>>>>> Hi Victor,
>>>>>
>>>>> I had a question about the float-version.h change. When we install
>>>>> the header, won't this mean it will default to float for desktop
>>>>> systems too? I'm wondering if we should revert and instead modify the
>>>>> build files for android and others to set USE_DOUBLE.
>>>>>
>>>>> steven
>>>>>
>>>>> On Mon, Apr 28, 2014 at 11:40 AM, Steven Yi wrote:
>>>>>> Thanks Victor, that did the trick. I also added the new csdebug.c
>>>>>> file to the Android build. I also added it to the PNaCl Makefile,
>>>>>> though I'm having some issues building PNaCl here (I switched to
>>>>>> pepper_33 and libsndfile was having some issues compiling, will have
>>>>>> to look into that later.)
>>>>>>
>>>>>> On Mon, Apr 28, 2014 at 2:14 AM, Victor Lazzarini
>>>>>> wrote:
>>>>>>> Try pulling and rebuilding. It’s building here.
>>>>>>> ========================
>>>>>>> Dr Victor Lazzarini
>>>>>>> Senior Lecturer
>>>>>>> NUI Maynooth, Ireland
>>>>>>> victor dot lazzarini at nuim dot ie
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 28 Apr 2014, at 06:25, Steven Yi wrote:
>>>>>>>
>>>>>>>> Hi All,
>>>>>>>>
>>>>>>>> I just tried an Android build and got some errors. This is using the
>>>>>>>> build.sh script in the csound6/android/CsoundAndroid folder for
>>>>>>>> building the native part with the Android NDK. There's a number of
>>>>>>>> warnings and one error (pasted below). It seems like some changes may
>>>>>>>> have caused this not to build correctly due to using float instead of
>>>>>>>> double (my guess at this point). I thought I'd mention this in case
>>>>>>>> someone else has a chance to try. I'm heading to sleep now and will
>>>>>>>> look again later.
>>>>>>>>
>>>>>>>> steven
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:
>>>>>>>> In function 'jint Java_csnd6_csndJNI_csoundGetChannelPtr(JNIEnv*,
>>>>>>>> jclass, jlong, jlong, jstring, jint)':
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:5402:70:
>>>>>>>> error: cannot convert 'float**' to 'double**' for argument '2' to 'int
>>>>>>>> csoundGetChannelPtr(CSOUND*, double**, const char*, int)'
>>>>>>>> result = (int)csoundGetChannelPtr(arg1,arg2,(char const *)arg3,arg4);
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:
>>>>>>>> In function 'void Java_csnd6_csndJNI_csoundGetAudioChannel(JNIEnv*,
>>>>>>>> jclass, jlong, jstring, jlong)':
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:5569:53:
>>>>>>>> error: cannot convert 'float*' to 'double*' for argument '3' to 'void
>>>>>>>> csoundGetAudioChannel(CSOUND*, const char*, double*)'
>>>>>>>> csoundGetAudioChannel(arg1,(char const *)arg2,arg3);
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:
>>>>>>>> In function 'void Java_csnd6_csndJNI_csoundSetAudioChannel(JNIEnv*,
>>>>>>>> jclass, jlong, jstring, jlong)':
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:5588:53:
>>>>>>>> error: cannot convert 'float*' to 'double*' for argument '3' to 'void
>>>>>>>> csoundSetAudioChannel(CSOUND*, const char*, double*)'
>>>>>>>> csoundSetAudioChannel(arg1,(char const *)arg2,arg3);
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:
>>>>>>>> In function 'jint Java_csnd6_csndJNI_csoundScoreEvent(JNIEnv*, jclass,
>>>>>>>> jlong, jchar, jlong, jint)':
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:5748:68:
>>>>>>>> error: cannot convert 'const float*' to 'const double*' for argument
>>>>>>>> '3' to 'int csoundScoreEvent(CSOUND*, char, const double*, long int)'
>>>>>>>> result = (int)csoundScoreEvent(arg1,arg2,(float const *)arg3,arg4);
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:
>>>>>>>> In function 'jint Java_csnd6_csndJNI_csoundScoreEventAbsolute(JNIEnv*,
>>>>>>>> jclass, jlong, jchar, jlong, jint, jdouble)':
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:5770:81:
>>>>>>>> error: cannot convert 'const float*' to 'const double*' for argument
>>>>>>>> '3' to 'int csoundScoreEventAbsolute(CSOUND*, char, const double*,
>>>>>>>> long int, double)'
>>>>>>>> result = (int)csoundScoreEventAbsolute(arg1,arg2,(float const
>>>>>>>> *)arg3,arg4,arg5);
>>>>>>>>
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:
>>>>>>>> In function 'void Java_csnd6_csndJNI_csoundTableCopyOut(JNIEnv*,
>>>>>>>> jclass, jlong, jint, jlong)':
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:5924:36:
>>>>>>>> error: cannot convert 'float*' to 'double*' for argument '3' to 'void
>>>>>>>> csoundTableCopyOut(CSOUND*, int, double*)'
>>>>>>>> csoundTableCopyOut(arg1,arg2,arg3);
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:
>>>>>>>> In function 'void Java_csnd6_csndJNI_csoundTableCopyIn(JNIEnv*,
>>>>>>>> jclass, jlong, jint, jlong)':
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:5938:35:
>>>>>>>> error: cannot convert 'float*' to 'double*' for argument '3' to 'void
>>>>>>>> csoundTableCopyIn(CSOUND*, int, double*)'
>>>>>>>> csoundTableCopyIn(arg1,arg2,arg3);
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:
>>>>>>>> In function 'jint Java_csnd6_csndJNI_csoundGetTable(JNIEnv*, jclass,
>>>>>>>> jlong, jlong, jint)':
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:5954:46:
>>>>>>>> error: cannot convert 'float**' to 'double**' for argument '2' to 'int
>>>>>>>> csoundGetTable(CSOUND*, double**, int)'
>>>>>>>> result = (int)csoundGetTable(arg1,arg2,arg3);
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:
>>>>>>>> In function 'void
>>>>>>>> Java_csnd6_csndJNI_csCfgVariableMYFLT_1t_1p_1set(JNIEnv*, jclass,
>>>>>>>> jlong, jobject, jlong)':
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:7923:23:
>>>>>>>> error: cannot convert 'float*' to 'double*' in assignment
>>>>>>>> if (arg1) (arg1)->p = arg2;
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:
>>>>>>>> In function 'jint Java_csnd6_csndJNI_Csound_1ScoreEvent(JNIEnv*,
>>>>>>>> jclass, jlong, jobject, jchar, jlong, jint)':
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:11092:65:
>>>>>>>> error: no matching function for call to 'Csound::ScoreEvent(char&,
>>>>>>>> const float*, long int&)'
>>>>>>>> result = (int)(arg1)->ScoreEvent(arg2,(float const *)arg3,arg4);
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:11092:65:
>>>>>>>> note: candidate is:
>>>>>>>> In file included from
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:431:0:
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../include/csound.hpp:514:15:
>>>>>>>> note: virtual int Csound::ScoreEvent(char, const double*, long int)
>>>>>>>> virtual int ScoreEvent(char type, const MYFLT *pFields, long numFields)
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../include/csound.hpp:514:15:
>>>>>>>> note: no known conversion for argument 2 from 'const float*' to
>>>>>>>> 'const double*'
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:
>>>>>>>> In function 'jint
>>>>>>>> Java_csnd6_csndJNI_Csound_1ScoreEventAbsolute(JNIEnv*, jclass, jlong,
>>>>>>>> jobject, jchar, jlong, jint, jdouble)':
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:11115:78:
>>>>>>>> error: no matching function for call to
>>>>>>>> 'Csound::ScoreEventAbsolute(char&, const float*, long int&, double&)'
>>>>>>>> result = (int)(arg1)->ScoreEventAbsolute(arg2,(float const *)arg3,arg4,arg5);
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:11115:78:
>>>>>>>> note: candidate is:
>>>>>>>> In file included from
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:431:0:
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../include/csound.hpp:518:15:
>>>>>>>> note: virtual int Csound::ScoreEventAbsolute(char, const double*, long
>>>>>>>> int, double)
>>>>>>>> virtual int ScoreEventAbsolute(char type, const MYFLT *pFields,
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../include/csound.hpp:518:15:
>>>>>>>> note: no known conversion for argument 2 from 'const float*' to
>>>>>>>> 'const double*'
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:
>>>>>>>> In function 'jint Java_csnd6_csndJNI_Csound_1GetTable(JNIEnv*, jclass,
>>>>>>>> jlong, jobject, jlong, jint)':
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:11341:44:
>>>>>>>> error: no matching function for call to 'Csound::GetTable(float*&,
>>>>>>>> int&)'
>>>>>>>> result = (int)(arg1)->GetTable(*arg2,arg3);
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:11341:44:
>>>>>>>> note: candidate is:
>>>>>>>> In file included from
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:431:0:
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../include/csound.hpp:659:15:
>>>>>>>> note: virtual int Csound::GetTable(double*&, int)
>>>>>>>> virtual int GetTable(MYFLT* &tablePtr, int tableNum)
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../include/csound.hpp:659:15:
>>>>>>>> note: no known conversion for argument 1 from 'float*' to 'double*&'
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:
>>>>>>>> In function 'void Java_csnd6_csndJNI_Csound_1TableCopyOut(JNIEnv*,
>>>>>>>> jclass, jlong, jobject, jint, jlong)':
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:11358:33:
>>>>>>>> error: no matching function for call to 'Csound::TableCopyOut(int&,
>>>>>>>> float*&)'
>>>>>>>> (arg1)->TableCopyOut(arg2,arg3);
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:11358:33:
>>>>>>>> note: candidate is:
>>>>>>>> In file included from
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:431:0:
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../include/csound.hpp:667:16:
>>>>>>>> note: virtual void Csound::TableCopyOut(int, double*)
>>>>>>>> virtual void TableCopyOut(int table, MYFLT *dest){
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../include/csound.hpp:667:16:
>>>>>>>> note: no known conversion for argument 2 from 'float*' to 'double*'
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:
>>>>>>>> In function 'void Java_csnd6_csndJNI_Csound_1TableCopyIn(JNIEnv*,
>>>>>>>> jclass, jlong, jobject, jint, jlong)':
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:11373:32:
>>>>>>>> error: no matching function for call to 'Csound::TableCopyIn(int&,
>>>>>>>> float*&)'
>>>>>>>> (arg1)->TableCopyIn(arg2,arg3);
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:11373:32:
>>>>>>>> note: candidate is:
>>>>>>>> In file included from
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:431:0:
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../include/csound.hpp:670:16:
>>>>>>>> note: virtual void Csound::TableCopyIn(int, double*)
>>>>>>>> virtual void TableCopyIn(int table, MYFLT *src){
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../include/csound.hpp:670:16:
>>>>>>>> note: no known conversion for argument 2 from 'float*' to 'double*'
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:
>>>>>>>> In function 'jint Java_csnd6_csndJNI_Csound_1GetChannelPtr(JNIEnv*,
>>>>>>>> jclass, jlong, jobject, jlong, jstring, jint)':
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:11596:68:
>>>>>>>> error: no matching function for call to
>>>>>>>> 'Csound::GetChannelPtr(float*&, const char*, int&)'
>>>>>>>> result = (int)(arg1)->GetChannelPtr(*arg2,(char const *)arg3,arg4);
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:11596:68:
>>>>>>>> note: candidate is:
>>>>>>>> In file included from
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:431:0:
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../include/csound.hpp:718:15:
>>>>>>>> note: virtual int Csound::GetChannelPtr(double*&, const char*, int)
>>>>>>>> virtual int GetChannelPtr(MYFLT* &p, const char *name, int type)
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../include/csound.hpp:718:15:
>>>>>>>> note: no known conversion for argument 1 from 'float*' to 'double*&'
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:
>>>>>>>> In function 'void
>>>>>>>> Java_csnd6_csndJNI_Csound_1SetChannel_1_1SWIG_12(JNIEnv*, jclass,
>>>>>>>> jlong, jobject, jstring, jlong)':
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:11754:45:
>>>>>>>> error: no matching function for call to 'Csound::SetChannel(const
>>>>>>>> char*, float*&)'
>>>>>>>> (arg1)->SetChannel((char const *)arg2,arg3);
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:11754:45:
>>>>>>>> note: candidates are:
>>>>>>>> In file included from
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:431:0:
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../include/csound.hpp:747:16:
>>>>>>>> note: virtual void Csound::SetChannel(const char*, double)
>>>>>>>> virtual void SetChannel(const char *name, double value)
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../include/csound.hpp:747:16:
>>>>>>>> note: no known conversion for argument 2 from 'float*' to 'double'
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../include/csound.hpp:751:16:
>>>>>>>> note: virtual void Csound::SetChannel(const char*, char*)
>>>>>>>> virtual void SetChannel(const char *name, char *string)
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../include/csound.hpp:751:16:
>>>>>>>> note: no known conversion for argument 2 from 'float*' to 'char*'
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../include/csound.hpp:755:16:
>>>>>>>> note: virtual void Csound::SetChannel(const char*, double*)
>>>>>>>> virtual void SetChannel(const char *name, MYFLT *samples)
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../include/csound.hpp:755:16:
>>>>>>>> note: no known conversion for argument 2 from 'float*' to 'double*'
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:
>>>>>>>> In function 'void Java_csnd6_csndJNI_Csound_1GetAudioChannel(JNIEnv*,
>>>>>>>> jclass, jlong, jobject, jstring, jlong)':
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:11845:50:
>>>>>>>> error: no matching function for call to 'Csound::GetAudioChannel(const
>>>>>>>> char*, float*&)'
>>>>>>>> (arg1)->GetAudioChannel((char const *)arg2,arg3);
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:11845:50:
>>>>>>>> note: candidate is:
>>>>>>>> In file included from
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:431:0:
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../include/csound.hpp:767:16:
>>>>>>>> note: virtual void Csound::GetAudioChannel(const char*, double*)
>>>>>>>> virtual void GetAudioChannel(const char *name, MYFLT *samples)
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../include/csound.hpp:767:16:
>>>>>>>> note: no known conversion for argument 2 from 'float*' to 'double*'
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:
>>>>>>>> In function 'void Java_csnd6_csndJNI_CsoundMYFLTArray_1SetPtr(JNIEnv*,
>>>>>>>> jclass, jlong, jobject, jlong)':
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:12952:22:
>>>>>>>> error: no matching function for call to
>>>>>>>> 'CsoundMYFLTArray::SetPtr(float*&)'
>>>>>>>> (arg1)->SetPtr(arg2);
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:12952:22:
>>>>>>>> note: candidate is:
>>>>>>>> In file included from
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:433:0:
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/cs_glue.hpp:234:10:
>>>>>>>> note: void CsoundMYFLTArray::SetPtr(double*)
>>>>>>>> void SetPtr(MYFLT *ptr)
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/cs_glue.hpp:234:10:
>>>>>>>> note: no known conversion for argument 1 from 'float*' to 'double*'
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:
>>>>>>>> In function 'void
>>>>>>>> Java_csnd6_csndJNI_CsoundMYFLTArray_1SetValues_1_1SWIG_19(JNIEnv*,
>>>>>>>> jclass, jlong, jobject, jint, jint, jlong)':
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:13226:50:
>>>>>>>> error: no matching function for call to
>>>>>>>> 'CsoundMYFLTArray::SetValues(int&, int&, const float*)'
>>>>>>>> (arg1)->SetValues(arg2,arg3,(float const *)arg4);
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:13226:50:
>>>>>>>> note: candidates are:
>>>>>>>> In file included from
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:433:0:
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/cs_glue.hpp:252:10:
>>>>>>>> note: void CsoundMYFLTArray::SetValues(int, double, double)
>>>>>>>> void SetValues(int ndx, double v0, double v1)
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/cs_glue.hpp:252:10:
>>>>>>>> note: no known conversion for argument 3 from 'const float*' to
>>>>>>>> 'double'
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/cs_glue.hpp:261:10:
>>>>>>>> note: void CsoundMYFLTArray::SetValues(int, double, double, double)
>>>>>>>> void SetValues(int ndx, double v0, double v1, double v2)
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/cs_glue.hpp:261:10:
>>>>>>>> note: candidate expects 4 arguments, 3 provided
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/cs_glue.hpp:271:10:
>>>>>>>> note: void CsoundMYFLTArray::SetValues(int, double, double, double,
>>>>>>>> double)
>>>>>>>> void SetValues(int ndx, double v0, double v1, double v2, double v3)
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/cs_glue.hpp:271:10:
>>>>>>>> note: candidate expects 5 arguments, 3 provided
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/cs_glue.hpp:281:10:
>>>>>>>> note: void CsoundMYFLTArray::SetValues(int, double, double, double,
>>>>>>>> double, double)
>>>>>>>> void SetValues(int ndx,
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/cs_glue.hpp:281:10:
>>>>>>>> note: candidate expects 6 arguments, 3 provided
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/cs_glue.hpp:293:10:
>>>>>>>> note: void CsoundMYFLTArray::SetValues(int, double, double, double,
>>>>>>>> double, double, double)
>>>>>>>> void SetValues(int ndx,
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/cs_glue.hpp:293:10:
>>>>>>>> note: candidate expects 7 arguments, 3 provided
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/cs_glue.hpp:306:10:
>>>>>>>> note: void CsoundMYFLTArray::SetValues(int, double, double, double,
>>>>>>>> double, double, double, double)
>>>>>>>> void SetValues(int ndx,
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/cs_glue.hpp:306:10:
>>>>>>>> note: candidate expects 8 arguments, 3 provided
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/cs_glue.hpp:320:10:
>>>>>>>> note: void CsoundMYFLTArray::SetValues(int, double, double, double,
>>>>>>>> double, double, double, double, double)
>>>>>>>> void SetValues(int ndx,
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/cs_glue.hpp:320:10:
>>>>>>>> note: candidate expects 9 arguments, 3 provided
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/cs_glue.hpp:334:10:
>>>>>>>> note: void CsoundMYFLTArray::SetValues(int, double, double, double,
>>>>>>>> double, double, double, double, double, double)
>>>>>>>> void SetValues(int ndx,
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/cs_glue.hpp:334:10:
>>>>>>>> note: candidate expects 10 arguments, 3 provided
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/cs_glue.hpp:349:10:
>>>>>>>> note: void CsoundMYFLTArray::SetValues(int, double, double, double,
>>>>>>>> double, double, double, double, double, double, double)
>>>>>>>> void SetValues(int ndx,
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/cs_glue.hpp:349:10:
>>>>>>>> note: candidate expects 11 arguments, 3 provided
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/cs_glue.hpp:372:10:
>>>>>>>> note: void CsoundMYFLTArray::SetValues(int, int, const double*)
>>>>>>>> void SetValues(int ndx, int n, const MYFLT *src)
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/cs_glue.hpp:372:10:
>>>>>>>> note: no known conversion for argument 3 from 'const float*' to
>>>>>>>> 'const double*'
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:
>>>>>>>> In function 'void
>>>>>>>> Java_csnd6_csndJNI_CsoundMYFLTArray_1GetValues(JNIEnv*, jclass, jlong,
>>>>>>>> jobject, jlong, jint, jint)':
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:13243:35:
>>>>>>>> error: no matching function for call to
>>>>>>>> 'CsoundMYFLTArray::GetValues(float*&, int&, int&)'
>>>>>>>> (arg1)->GetValues(arg2,arg3,arg4);
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:13243:35:
>>>>>>>> note: candidate is:
>>>>>>>> In file included from
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:433:0:
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/cs_glue.hpp:381:10:
>>>>>>>> note: void CsoundMYFLTArray::GetValues(double*, int, int)
>>>>>>>> void GetValues(MYFLT *dst, int ndx, int n)
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/cs_glue.hpp:381:10:
>>>>>>>> note: no known conversion for argument 1 from 'float*' to 'double*'
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:
>>>>>>>> In function 'void
>>>>>>>> Java_csnd6_csndJNI_CsoundPerformanceThread_1ScoreEvent(JNIEnv*,
>>>>>>>> jclass, jlong, jobject, jint, jchar, jint, jlong)':
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:14327:56:
>>>>>>>> error: no matching function for call to
>>>>>>>> 'CsoundPerformanceThread::ScoreEvent(int&, char&, int&, const float*)'
>>>>>>>> (arg1)->ScoreEvent(arg2,arg3,arg4,(float const *)arg5);
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:14327:56:
>>>>>>>> note: candidate is:
>>>>>>>> In file included from
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/java_interfaceJAVA_wrap.cpp:434:0:
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/csPerfThread.hpp:160:10:
>>>>>>>> note: void CsoundPerformanceThread::ScoreEvent(int, char, int, const
>>>>>>>> double*)
>>>>>>>> void ScoreEvent(int absp2mode, char opcod, int pcnt, const MYFLT *p);
>>>>>>>> ^
>>>>>>>> /Users/stevenyi/work/csound/csound6/android/CsoundAndroid/jni/../../../interfaces/csPerfThread.hpp:160:10:
>>>>>>>> note: no known conversion for argument 4 from 'const float*' to
>>>>>>>> 'const double*'
>>>>>>>> make: *** [/Users/stevenyi/work/csound/csound6/android/CsoundAndroid/obj/local/armeabi/objs/csoundandroid/java_interfaceJAVA_wrap.o]
>>>>>>>> Error 1
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>>>>>> Instantly run your Selenium tests across 300+ browser/OS combos. Get
>>>>>>>> unparalleled scalability from the best Selenium testing platform available.
>>>>>>>> Simple to use. Nothing to install. Get started now for free."
>>>>>>>> http://p.sf.net/sfu/SauceLabs
>>>>>>>> _______________________________________________
>>>>>>>> Csound-devel mailing list
>>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>>>>> Instantly run your Selenium tests across 300+ browser/OS combos. Get
>>>>>>> unparalleled scalability from the best Selenium testing platform available.
>>>>>>> Simple to use. Nothing to install. Get started now for free."
>>>>>>> http://p.sf.net/sfu/SauceLabs
>>>>>>> _______________________________________________
>>>>>>> Csound-devel mailing list
>>>>>>> Csound-devel@lists.sourceforge.net
>>>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>>> Instantly run your Selenium tests across 300+ browser/OS combos. Get
>>>>> unparalleled scalability from the best Selenium testing platform available.
>>>>> Simple to use. Nothing to install. Get started now for free."
>>>>> http://p.sf.net/sfu/SauceLabs
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>>> Instantly run your Selenium tests across 300+ browser/OS combos. Get
>>>> unparalleled scalability from the best Selenium testing platform available.
>>>> Simple to use. Nothing to install. Get started now for free."
>>>> http://p.sf.net/sfu/SauceLabs
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>>
>>>
>>> --
>>>
>>> Saludos,
>>> Felipe Sateler
>>>
>>> ------------------------------------------------------------------------------
>>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>>> Instantly run your Selenium tests across 300+ browser/OS combos. Get
>>> unparalleled scalability from the best Selenium testing platform available.
>>> Simple to use. Nothing to install. Get started now for free."
>>> http://p.sf.net/sfu/SauceLabs
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>> ------------------------------------------------------------------------------
>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>> Instantly run your Selenium tests across 300+ browser/OS combos. Get
>> unparalleled scalability from the best Selenium testing platform available.
>> Simple to use. Nothing to install. Get started now for free."
>> http://p.sf.net/sfu/SauceLabs
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
> --
>
> Saludos,
> Felipe Sateler
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos. Get
> unparalleled scalability from the best Selenium testing platform available.
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge. |