1oom: new recipe (#5842)

Also fix midi looping in SDL Mixer
This commit is contained in:
Watto
2021-05-03 12:10:43 +01:00
committed by GitHub
parent c6acbf6ac5
commit c04ada0a77
5 changed files with 687 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
From 2ea0989df83a759942d42cadb4e9c055a75d2a18 Mon Sep 17 00:00:00 2001
From: Craig Watson <watsoncraigjohn@gmail.com>
Date: Mon, 19 Apr 2021 14:59:10 +0000
Subject: Fix looping midi bug in Haiku native midi
diff --git a/native_midi/native_midi_haiku.cpp b/native_midi/native_midi_haiku.cpp
index 8de350e..60face0 100644
--- a/native_midi/native_midi_haiku.cpp
+++ b/native_midi/native_midi_haiku.cpp
@@ -74,6 +74,7 @@ class MidiEventsStore : public BMidi
--fLoops;
fPos = 0;
ev = fEvs;
+ startTime = B_NOW;
} else
break;
}
--
2.30.2

View File

@@ -6,10 +6,11 @@ MOD, Timidity MIDI, Ogg Vorbis, and SMPEG MP3 libraries."
HOMEPAGE="http://www.libsdl.org/projects/SDL_mixer/"
COPYRIGHT="1997-2012 Sam Lantinga"
LICENSE="Zlib"
REVISION="7"
REVISION="8"
SOURCE_URI="http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.tar.gz"
CHECKSUM_SHA256="1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a"
SOURCE_DIR="SDL_mixer-$portVersion"
PATCHES="sdl_mixer-1.2.12.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"