Disable Streamed Audio for now, better late than broken

This commit is contained in:
Ralty
2026-04-07 10:41:35 +07:00
parent 3fa3fbda14
commit 2a413071cd
4 changed files with 16 additions and 9 deletions
+2 -2
View File
@@ -247,7 +247,7 @@ class Assets
var sound = cache.getSound(id);
if (isValidSound(sound)) return sound;
}
#if (lime_vorbis && lime > "7.9.0" && !macro)
/*#if (lime_vorbis && lime > "7.9.0" && !macro)
if (Options.streamedMusic) {
var bytes = getBytes(id);
if (bytes == null) return null;
@@ -255,7 +255,7 @@ class Assets
var vorbisFile = VorbisFile.fromBytes(bytes);
if (vorbisFile != null) return Sound.fromAudioBuffer(AudioBuffer.fromVorbisFile(vorbisFile));
}
#end
#end*/
return if (staticFallback) getSound(id, useCache); else null;
}