Skip to content

Commit

Permalink
Merge pull request #2 from umjammer/0.0.3
Browse files Browse the repository at this point in the history
0.0.3
  • Loading branch information
umjammer authored Jan 23, 2025
2 parents 9dfd70f + 640dcaf commit 67f6c06
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>vavi</groupId>
<artifactId>vavi-sound-mucom88</artifactId>
<version>0.0.2</version>
<version>0.0.3</version>

<build>
<plugins>
Expand Down Expand Up @@ -80,7 +80,7 @@
<dependency>
<groupId>com.github.umjammer</groupId> <!-- vavi / com.github.umjammer -->
<artifactId>vavi-sound-mdsound</artifactId>
<version>0.0.2</version>
<version>0.0.3</version>
</dependency>
<dependency>
<groupId>com.github.umjammer</groupId> <!-- com.github.umjammer / vavi -->
Expand Down
5 changes: 2 additions & 3 deletions src/main/java/mucom88/player/Program.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/wav/Program.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);

}

Expand Down

0 comments on commit 67f6c06

Please sign in to comment.