From 0989ab28e85808abfad10f1af14a2c0895fa3d85 Mon Sep 17 00:00:00 2001 From: Naohide Sano Date: Thu, 23 Jan 2025 22:43:05 +0900 Subject: [PATCH 1/2] catch up with a depencecy update --- pom.xml | 2 +- src/main/java/mucom88/player/Program.java | 5 ++--- src/test/java/wav/Program.java | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 3d2bfd1..31ac0fa 100644 --- a/pom.xml +++ b/pom.xml @@ -80,7 +80,7 @@ com.github.umjammer vavi-sound-mdsound - 0.0.2 + 0.0.3 com.github.umjammer diff --git a/src/main/java/mucom88/player/Program.java b/src/main/java/mucom88/player/Program.java index 2cf5856..a5994be 100644 --- a/src/main/java/mucom88/player/Program.java +++ b/src/main/java/mucom88/player/Program.java @@ -16,7 +16,6 @@ import com.github.kwhat.jnativehook.keyboard.NativeKeyListener; import dotnet4j.io.File; import dotnet4j.util.compat.StopWatch; -import dotnet4j.util.compat.StringUtilities; import dotnet4j.util.compat.Tuple; import mdsound.Instrument; import mdsound.MDSound; @@ -493,7 +492,7 @@ private static void writeOPM(int chipId, ChipDatum dat) { private static void writeOPNBAdpcmA(int chipId, byte[] pcmData) { switch (device) { case 0: - mds.writeYm2610SetAdpcmA(chipId, pcmData); + mds.inst(Ym2610Inst.class).writeAdpcmA(chipId, pcmData); break; case 1: case 2: @@ -504,7 +503,7 @@ private static void writeOPNBAdpcmA(int chipId, byte[] pcmData) { private static void writeOPNBAdpcmB(int chipId, byte[] pcmData) { switch (device) { case 0: - mds.writeYm2610SetAdpcmB(chipId, pcmData); + mds.inst(Ym2610Inst.class).writeAdpcmB(chipId, pcmData); break; case 1: case 2: diff --git a/src/test/java/wav/Program.java b/src/test/java/wav/Program.java index 55f0a65..12830ad 100644 --- a/src/test/java/wav/Program.java +++ b/src/test/java/wav/Program.java @@ -295,12 +295,12 @@ private static void writeOPNB(int chipId, ChipDatum dat) { } private static void writeOPNBAdpcmA(int chipId, byte[] pcmData) { - mds.writeYm2610SetAdpcmA(chipId, pcmData); + mds.inst(Ym2610Inst.class).writeAdpcmA(chipId, pcmData); } private static void writeOPNBAdpcmB(int chipId, byte[] pcmData) { - mds.writeYm2610SetAdpcmB(chipId, pcmData); + mds.inst(Ym2610Inst.class).writeAdpcmB(chipId, pcmData); } From 640dcafdb2219476b33d66da27893663794b8823 Mon Sep 17 00:00:00 2001 From: Naohide Sano Date: Thu, 23 Jan 2025 22:43:32 +0900 Subject: [PATCH 2/2] bump version --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 31ac0fa..52b8c3f 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ vavi vavi-sound-mucom88 - 0.0.2 + 0.0.3