This was fine
parent
bca807fb9d
commit
4dae22707f
|
@ -292,6 +292,9 @@ int startEncoding(JNIEnv *env, jclass *cls_ptr, jlong *sampleRate_ptr, jlong *ch
|
||||||
__android_log_print(ANDROID_LOG_INFO, "VorbisEncoder", "Completed encoding.");
|
__android_log_print(ANDROID_LOG_INFO, "VorbisEncoder", "Completed encoding.");
|
||||||
stopEncodeFeed(env, &encoderDataFeed, &stopMethodId);
|
stopEncodeFeed(env, &encoderDataFeed, &stopMethodId);
|
||||||
|
|
||||||
|
//Clean up encode buffers
|
||||||
|
(*env)->DeleteLocalRef(env, jByteArrayWriteBuffer);
|
||||||
|
|
||||||
return SUCCESS;
|
return SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue