changeset 834 | e8d6255306f8 |
parent 833 | f5a5d9237d69 |
child 835 | 4e40f3481f23 |
833:f5a5d9237d69 | 834:e8d6255306f8 |
---|---|
1 package org.sipdroid.media.codecs; |
|
2 |
|
3 public class GSMJNI { |
|
4 public static native long create(); |
|
5 public static native void destroy(long gsm); |
|
6 public static native int decode(long gsm, byte[] gsmByte, long srcPos, short[] signal, long destPos); |
|
7 public static native void encode(long gsm, short[] signal, long srcPos, byte[] gsmByte, long destPos); |
|
8 } |