aboutsummaryrefslogtreecommitdiff
path: root/src/assets.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/assets.rs')
-rw-r--r--src/assets.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/assets.rs b/src/assets.rs
index 5f0e08b..2d2206c 100644
--- a/src/assets.rs
+++ b/src/assets.rs
@@ -41,6 +41,10 @@ impl AssetLoader for MidiAssetLoader {
reader.read_to_end(&mut bytes).await?;
Ok(MidiAudio { midi: bytes })
}
+
+ fn extensions(&self) -> &[&str] {
+ &["mid", "midi"]
+ }
}
/// Decoder for MIDI file playback