Displaying 9 results from an estimated 9 matches for "jnicall".
Did you mean:
unicall
2008 May 29
0
Again, teach me speex AEC please!
...ady made AEC to work?!
But beware, this will be used in my Voip program, so it should be async by nature.
/**
* com_peterhi_Speex.h
*/
#include <jni.h>
#ifndef _Included_com_peterhi_Speex
#define _Included_com_peterhi_Speex
#ifdef __cplusplus
extern "C" {
#endif
JNIEXPORT jint JNICALL Java_com_peterhi_Speex_encoder__(JNIEnv *, jclass);
JNIEXPORT jint JNICALL Java_com_peterhi_Speex_decoder__(JNIEnv *, jclass);
JNIEXPORT void JNICALL Java_com_peterhi_Speex_encoder__I(JNIEnv *, jclass, jint);
JNIEXPORT void JNICALL Java_com_peterhi_Speex_decoder__I(JNIEnv *, jclass, jint);
JNIEXPOR...
2013 Jan 04
1
Integrating Java, C++ and R
Hi,
I am able to integrate C++ and R through RInside library. However when I
use a jni call as my UI is through java it crashes at C++ side. My files
are
------------------------------------------------
JNICallingClass.C:
JNIEXPORT void JNICALL Java_CallR_run (JNIEnv* env, jobject callr){
std::cout << "Inside JNICALL" << std::endl;
testR();
std::cout << "ENd of JNICALL" << std::endl;
}
-----------------------------------------------...
2017 Oct 27
1
javareconf issue
...is deprecated
[-Wdeprecated-declarations]*
* JNI_CreateJavaVM(0, 0, 0);*
* ^*
*/System/Library/Frameworks/JavaVM.framework/Headers/jni.h:1936:39: note:
'JNI_CreateJavaVM' has*
* been explicitly marked deprecated here*
*_JNI_IMPORT_OR_EXPORT_ __attribute__((deprecated)) jint JNICALL*
* ^*
*1 warning generated.*
*clang -dynamiclib -Wl,-headerpad_max_install_names -undefined
dynamic_lookup -single_module -multiply_defined suppress
-L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o
conftest.so conftest.o -framework JavaVM
-...
2006 Oct 12
0
Jmeeting & Wine .22
...versionStatus (0x1dd208, 1, 0): stub
fixme:imm:ImmGetDefaultIMEWnd (0x2003e - 0x1002c 0xb41e748 ): semi-stub
fixme:avicap:capCreateCaptureWindowW L"VfwCamDetect", 50000000,
00000000, 00000000, 00000140, 000000f0, 0x10040, 00022100
VFW Driver +Could not create capture window
JNIEXPORT void JNICALL
Java_com_jsyntax_directshow_CaptureDeviceManager_detect0(JNIEnv * pEnv,
jclass jCaptureDeviceManagerClass, jobject jDevicesList)
fixme:imm:ImmGetOpenStatus (0xb491f40): semi-stub
There are more similar errors, but that's the jist of it.
I'm sure avicap had been attended to - or is it just...
2008 Dec 15
1
WineLib and Java Native Interface (JNI) - UNIX
...lloimpl.so HelloImpl_main.c -shared -fpic -I/usr/java/jdk1.5.0_12/include -I/usr/java/jdk1.5.0_12/include/linux
3. From JAVA call to load so lib (I can load and link to the function)
4.Load so and call the function
It can call BUT it will have crashed at the wine lib functions.
JNIEXPORT jstring JNICALL Java_HelloImpl_sayHello
(JNIEnv *jEvn, jobject jObj){
printf("sayHello [BEGIN]\n");
char sText[255];
HELLOIMPL_global_sayHello_2(sText);
printf("sayHello [END CALL]\n");
jstring retmess;
retmess = (*jEvn)->NewStringUTF(jEvn, sText);...
2000 Dec 13
2
ov_clear segfaults?
...lt;jni.h>
#include "com_vorbis_ogg_HelloWorld.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "vorbis/codec.h"
#include "vorbis/vorbisfile.h"
#ifdef _WIN32
#include <io.h>
#include <fcntl.h>
#endif
JNIEXPORT void JNICALL Java_com_vorbis_ogg_HelloWorld_displayHelloWorld
(JNIEnv *env, jobject obj) {
OggVorbis_File vf;
FILE *fp;
char **ptr;
vorbis_info *vi;
fp = fopen("test.ogg", "r");
if (!fp) {
fprintf(stderr, "File not found.\n");
return;
}
if( ov_open(fp,...
2016 Feb 05
7
[PATCH 0/7] lib: Stop exporting the safe_malloc, etc. functions.
The safe_malloc (etc) functions call g->abort_fn on failure. That's
not appropriate for language bindings, and we never intended that
these internal functions be used from language bindings, that was just
a historical accident.
This patch series removes any external use of the safe_* functions.
Rich.
2016 Dec 08
4
[PATCH] generator: Share Common_utils code.
...al arguments are supplied in the final Map<String,Object> parameter, which is a hash of the argument name to its value (cast to Object). Pass an empty Map or null for no optional arguments."
@@ -625,7 +627,7 @@ throw_out_of_memory (JNIEnv *env, const char *msg)
);
pr "JNICALL\n";
pr "Java_com_redhat_et_libguestfs_GuestFS_";
- pr "%s" (replace_str ("_" ^ name) "_" "_1");
+ pr "%s" (String.replace ("_" ^ name) "_" "_1");
pr " (JNIEnv *env, jobject o...
2009 Aug 03
1
[PATCH 1/2] Convert all TABs-as-indentation to spaces.
...BufferOut _ -> pr "jstring ";
| RStruct _ | RHashtable _ ->
- pr "jobject ";
+ pr "jobject ";
| RStringList _ | RStructList _ ->
- pr "jobjectArray ";
+ pr "jobjectArray ";
);
pr "JNICALL\n";
pr "Java_com_redhat_et_libguestfs_GuestFS_";
@@ -8220,107 +8220,107 @@ Java_com_redhat_et_libguestfs_GuestFS__1close
pr "\n";
pr " (JNIEnv *env, jobject obj, jlong jg";
List.iter (
- function
- | String n
- | OptString n
- | FileIn...