mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-26 23:04:19 +08:00
scummvm: Enable audio, add checksum
This commit is contained in:
parent
e48651b934
commit
559c743da7
@ -1,17 +1,3 @@
|
||||
diff -rupNw source-original/audio/mixer.cpp source/audio/mixer.cpp
|
||||
--- source-original/audio/mixer.cpp 2017-12-08 23:21:10.000000000 +0100
|
||||
+++ source/audio/mixer.cpp 2018-12-06 02:03:37.151198853 +0100
|
||||
@@ -237,7 +237,9 @@ void MixerImpl::playStream(
|
||||
}
|
||||
|
||||
|
||||
- assert(_mixerReady);
|
||||
+ if (autofreeStream == DisposeAfterUse::YES)
|
||||
+ delete stream;
|
||||
+ return;
|
||||
|
||||
// Prevent duplicate sounds
|
||||
if (id != -1) {
|
||||
diff -rupNw source-original/common/stream.cpp source/common/stream.cpp
|
||||
--- source-original/common/stream.cpp 2017-12-08 23:21:10.000000000 +0100
|
||||
+++ source/common/stream.cpp 2018-12-06 02:01:50.454108198 +0100
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
VERSION=2.0.0
|
||||
TAR=https://www.scummvm.org/frs/scummvm/$VERSION/scummvm-$VERSION.tar.xz
|
||||
TAR_SHA256=9784418d555ba75822d229514a05cf226b8ce1a751eec425432e6b7e128fca60
|
||||
BUILD_DEPENDS=(sdl liborbital freetype zlib libpng)
|
||||
|
||||
function recipe_version {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user