Skip to content

Commit

Permalink
fix audio issue
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalgust committed Mar 26, 2024
1 parent 8ab8b77 commit c9e3478
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions binary/mac_x64/test.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@

./mini_jvm -Xdebug -bootclasspath ../lib/minijvm_rt.jar -cp ../libex/glfw_gui.jar:../libex/xgui.jar org.mini.glfw.GlfwMain
$(dirname $0)/mini_jvm -Xdebug -bootclasspath $(dirname $0)/../lib/minijvm_rt.jar -cp $(dirname $0)/../libex/glfw_gui.jar:$(dirname $0)/../libex/xgui.jar org.mini.glfw.GlfwMain

./mini_jvm -bootclasspath ../lib/minijvm_rt.jar -cp ../libex/minijvm_test.jar test.Foo3
$(dirname $0)/mini_jvm -bootclasspath $(dirname $0)/../lib/minijvm_rt.jar -cp $(dirname $0)/../libex/minijvm_test.jar test.Foo3

#./mini_jvm -bootclasspath ../lib/minijvm_rt.jar -cp ../libex/janino.jar:../libex/commons-compiler.jar #org.codehaus.janino.Compiler ../res/BpDeepTest.java

echo execute BpDeepTest
#echo execute BpDeepTest
#./mini_jvm -bootclasspath ../lib/minijvm_rt.jar -cp ../res/ BpDeepTest
#./mini_jvm -bootclasspath ../lib/minijvm_rt.jar -cp ../libex/luaj.jar Sample
2 changes: 1 addition & 1 deletion extlib/xgui/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<groupId>io.github.digitalgust</groupId>
<artifactId>xgui</artifactId>
<name>${project.groupId}:${project.artifactId}</name>
<version>1.1.9</version>
<version>1.1.10</version>
<description>miniJVM mobile platform gui library</description>
<url>https://github.com/digitalgust/miniJVM</url>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public float getVolume() {
public void finalize() {
System.out.println("clean " + this + " " + handle);
MiniAudio.ma_engine_uninit(handle);
MaDevice.removeDevice(handle);
MaDevice.removeDevice(device);
handle = 0;
}

Expand Down

0 comments on commit c9e3478

Please sign in to comment.