[jsyn] total audio unit limit

jsyn at music.columbia.edu jsyn at music.columbia.edu
Wed Nov 23 11:48:58 EST 2005

> Is the token table part of the Java source for JSyn, or for the C/C++
> (?) source of the native library?

It is in the C/C++ code. The tokens are used to provide security. Passing 
pointers to structures between 'C' and Java would provide a mechanism for 
hackers to corrupt the pointers and use the 'C' code to wreak havoc. So the 'C' 
code only takes tokens to represent allocated internal resources. These tokens 
are validated and converted to pointers for use in the native code.

Phil Burk

More information about the JSyn mailing list