@Test public void test() throws Exception { OpusDecoder decoder = new OpusDecoder(SampleRate.Rate_8Khz, Channels.Mono); try { Assert.assertNotNull(decoder); } finally { decoder.destroy(); } }
public void destroy() { synchronized (this) { if (nativeDecoder != 0) { nativeDestroy(nativeDecoder); nativeDecoder = 0; } } }
OpusDecoder { public void destroy() { synchronized (this) { if (nativeDecoder != 0) { nativeDestroy(nativeDecoder); nativeDecoder = 0; } } } }
OpusDecoder { public void destroy() { synchronized (this) { if (nativeDecoder != 0) { nativeDestroy(nativeDecoder); nativeDecoder = 0; } } } OpusDecoder(int sampleRate, byte[] firstPacket);  OpusDecoder(SampleRate sampleRate, Channels channels); }
OpusDecoder { public void destroy() { synchronized (this) { if (nativeDecoder != 0) { nativeDestroy(nativeDecoder); nativeDecoder = 0; } } } OpusDecoder(int sampleRate, byte[] firstPacket);  OpusDecoder(SampleRate sampleRate, Channels channels); int getSampleRate(); int getChannels(); short[] decode(byte[] packet); void destroy(); void finalize(); }
OpusDecoder { public void destroy() { synchronized (this) { if (nativeDecoder != 0) { nativeDestroy(nativeDecoder); nativeDecoder = 0; } } } OpusDecoder(int sampleRate, byte[] firstPacket);  OpusDecoder(SampleRate sampleRate, Channels channels); int getSampleRate(); int getChannels(); short[] decode(byte[] packet); void destroy(); void finalize();  }