NativeDecoder_mspublic final class NativeDecoder_ms extends JavaDecoder_ms MS GSM decoder plugin wrapper, which uses native methods to do the decoding. |
Fields Summary |
---|
public static final String | a_copyright_notice
Licensed Materials - Property of IBM
"Restricted Materials of IBM"
5648-B81
(c) Copyright IBM Corporation 1997,1999 All Rights Reserved
US Government Users Restricted Rights - Use, duplication or
disclosure restricted by GSA ADP Schedule Contract with
IBM Corporation. | int | nativeData |
Constructors Summary |
---|
public NativeDecoder_ms()
////////////////////////////////////////////////////////////////////////////
// Methods
|
Methods Summary |
---|
public void | close()
freeNative();
| protected void | decode(byte[] inpData, int readPtr, byte[] outData, int writePtr, int inpLength)
decodeNative(inpData,readPtr,outData,writePtr,inpLength);
| protected native void | decodeNative(byte[] inpData, int readPtr, byte[] outData, int writePtr, int inpLength)
| protected native void | freeNative()
| protected native void | initNative()
| public void | open()
try {
JMFSecurityManager.loadLibrary("jmutil");
JMFSecurityManager.loadLibrary("jmgsm");
initNative();
return;
} catch (Throwable t) {
}
throw new ResourceUnavailableException("Unable to load "+PLUGIN_NAME);
| public void | reset()
resetNative();
| protected native void | resetNative()
|
|