Skip to content

Commit

Permalink
Made mikrosoundfont testable
Browse files Browse the repository at this point in the history
  • Loading branch information
lemcoder committed Dec 17, 2024
1 parent 526bb7f commit 88558b5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 26 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
lib = "0.1.8"
lib = "0.1.9"

agp = "8.7.3"
kotlin = "2.1.0"
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
package io.github.lemcoder.mikrosoundfont

expect object MikroSoundFont {
fun load(path: String): SoundFont
import io.github.lemcoder.mikrosoundfont.internal.getSoundFontDelegate

interface SoundFontLoader {
fun load(memory: ByteArray): SoundFont
}

object MikroSoundFont : SoundFontLoader {
override fun load(memory: ByteArray): SoundFont = getSoundFontDelegate(memory)
}

This file was deleted.

0 comments on commit 88558b5

Please sign in to comment.