diff --git a/patches/dsound-EAX/0002-dsound-Apply-filters-before-sound-is-multiplied-to-s.patch b/patches/dsound-EAX/0001-dsound-Apply-filters-before-sound-is-multiplied-to-s.patch similarity index 100% rename from patches/dsound-EAX/0002-dsound-Apply-filters-before-sound-is-multiplied-to-s.patch rename to patches/dsound-EAX/0001-dsound-Apply-filters-before-sound-is-multiplied-to-s.patch diff --git a/patches/dsound-EAX/0001-dsound-Get-rid-of-no-longer-needed-mix_buffer_len-fi.patch b/patches/dsound-EAX/0001-dsound-Get-rid-of-no-longer-needed-mix_buffer_len-fi.patch deleted file mode 100644 index 7e4351f3..00000000 --- a/patches/dsound-EAX/0001-dsound-Get-rid-of-no-longer-needed-mix_buffer_len-fi.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 8f6390553dc5a0c32a4d6eb4fa73be0854acee37 Mon Sep 17 00:00:00 2001 -From: Sebastian Lackner -Date: Sun, 15 May 2016 02:13:18 +0200 -Subject: dsound: Get rid of no longer needed mix_buffer_len field. - ---- - dlls/dsound/dsound_private.h | 2 +- - dlls/dsound/primary.c | 5 +---- - 2 files changed, 2 insertions(+), 5 deletions(-) - -diff --git a/dlls/dsound/dsound_private.h b/dlls/dsound/dsound_private.h -index b980453..8bf9c9d 100644 ---- a/dlls/dsound/dsound_private.h -+++ b/dlls/dsound/dsound_private.h -@@ -88,7 +88,7 @@ struct DirectSoundDevice - int num_speakers; - int lfe_channel; - float *tmp_buffer; -- DWORD tmp_buffer_len, mix_buffer_len; -+ DWORD tmp_buffer_len; - - DSVOLUMEPAN volpan; - -diff --git a/dlls/dsound/primary.c b/dlls/dsound/primary.c -index 1925d0c..a5fe039 100644 ---- a/dlls/dsound/primary.c -+++ b/dlls/dsound/primary.c -@@ -338,8 +338,6 @@ HRESULT DSOUND_PrimaryOpen(DirectSoundDevice *device) - device->buflen = ds_hel_buflen; - device->buflen -= device->buflen % device->pwfx->nBlockAlign; - -- device->mix_buffer_len = (device->buflen / (device->pwfx->wBitsPerSample / 8)) * sizeof(float); -- - if (device->state == STATE_PLAYING) device->state = STATE_STARTING; - else if (device->state == STATE_STOPPING) device->state = STATE_STOPPED; - -@@ -359,8 +357,7 @@ HRESULT DSOUND_PrimaryOpen(DirectSoundDevice *device) - - device->buffer = newbuf; - -- TRACE("buflen: %u, fraglen: %u, mix_buffer_len: %u\n", -- device->buflen, device->fraglen, device->mix_buffer_len); -+ TRACE("buflen: %u, fraglen: %u\n", device->buflen, device->fraglen); - - if(device->pwfx->wFormatTag == WAVE_FORMAT_IEEE_FLOAT || - (device->pwfx->wFormatTag == WAVE_FORMAT_EXTENSIBLE && --- -2.8.0 - diff --git a/patches/dsound-EAX/0003-dsound-Add-EAX-v1-constants-and-structs.patch b/patches/dsound-EAX/0002-dsound-Add-EAX-v1-constants-and-structs.patch similarity index 100% rename from patches/dsound-EAX/0003-dsound-Add-EAX-v1-constants-and-structs.patch rename to patches/dsound-EAX/0002-dsound-Add-EAX-v1-constants-and-structs.patch diff --git a/patches/dsound-EAX/0004-dsound-Report-that-we-support-EAX-v1.patch b/patches/dsound-EAX/0003-dsound-Report-that-we-support-EAX-v1.patch similarity index 100% rename from patches/dsound-EAX/0004-dsound-Report-that-we-support-EAX-v1.patch rename to patches/dsound-EAX/0003-dsound-Report-that-we-support-EAX-v1.patch diff --git a/patches/dsound-EAX/0005-dsound-Add-EAX-propset-stubs.patch b/patches/dsound-EAX/0004-dsound-Add-EAX-propset-stubs.patch similarity index 100% rename from patches/dsound-EAX/0005-dsound-Add-EAX-propset-stubs.patch rename to patches/dsound-EAX/0004-dsound-Add-EAX-propset-stubs.patch diff --git a/patches/dsound-EAX/0006-dsound-Add-EAX-presets.patch b/patches/dsound-EAX/0005-dsound-Add-EAX-presets.patch similarity index 100% rename from patches/dsound-EAX/0006-dsound-Add-EAX-presets.patch rename to patches/dsound-EAX/0005-dsound-Add-EAX-presets.patch diff --git a/patches/dsound-EAX/0007-dsound-Support-getting-and-setting-EAX-properties.patch b/patches/dsound-EAX/0006-dsound-Support-getting-and-setting-EAX-properties.patch similarity index 100% rename from patches/dsound-EAX/0007-dsound-Support-getting-and-setting-EAX-properties.patch rename to patches/dsound-EAX/0006-dsound-Support-getting-and-setting-EAX-properties.patch diff --git a/patches/dsound-EAX/0008-dsound-Support-getting-and-setting-EAX-buffer-proper.patch b/patches/dsound-EAX/0007-dsound-Support-getting-and-setting-EAX-buffer-proper.patch similarity index 100% rename from patches/dsound-EAX/0008-dsound-Support-getting-and-setting-EAX-buffer-proper.patch rename to patches/dsound-EAX/0007-dsound-Support-getting-and-setting-EAX-buffer-proper.patch diff --git a/patches/dsound-EAX/0009-dsound-Add-EAX-init-and-free-stubs.patch b/patches/dsound-EAX/0008-dsound-Add-EAX-init-and-free-stubs.patch similarity index 100% rename from patches/dsound-EAX/0009-dsound-Add-EAX-init-and-free-stubs.patch rename to patches/dsound-EAX/0008-dsound-Add-EAX-init-and-free-stubs.patch diff --git a/patches/dsound-EAX/0010-dsound-Feed-data-through-EAX-function.patch b/patches/dsound-EAX/0009-dsound-Feed-data-through-EAX-function.patch similarity index 100% rename from patches/dsound-EAX/0010-dsound-Feed-data-through-EAX-function.patch rename to patches/dsound-EAX/0009-dsound-Feed-data-through-EAX-function.patch diff --git a/patches/dsound-EAX/0011-dsound-Allocate-EAX-delay-lines.patch b/patches/dsound-EAX/0010-dsound-Allocate-EAX-delay-lines.patch similarity index 100% rename from patches/dsound-EAX/0011-dsound-Allocate-EAX-delay-lines.patch rename to patches/dsound-EAX/0010-dsound-Allocate-EAX-delay-lines.patch diff --git a/patches/dsound-EAX/0012-dsound-Add-EAX-VerbPass-stub.patch b/patches/dsound-EAX/0011-dsound-Add-EAX-VerbPass-stub.patch similarity index 100% rename from patches/dsound-EAX/0012-dsound-Add-EAX-VerbPass-stub.patch rename to patches/dsound-EAX/0011-dsound-Add-EAX-VerbPass-stub.patch diff --git a/patches/dsound-EAX/0013-dsound-Implement-EAX-lowpass-filter.patch b/patches/dsound-EAX/0012-dsound-Implement-EAX-lowpass-filter.patch similarity index 100% rename from patches/dsound-EAX/0013-dsound-Implement-EAX-lowpass-filter.patch rename to patches/dsound-EAX/0012-dsound-Implement-EAX-lowpass-filter.patch diff --git a/patches/dsound-EAX/0014-dsound-Add-delay-line-EAX-functions.patch b/patches/dsound-EAX/0013-dsound-Add-delay-line-EAX-functions.patch similarity index 100% rename from patches/dsound-EAX/0014-dsound-Add-delay-line-EAX-functions.patch rename to patches/dsound-EAX/0013-dsound-Add-delay-line-EAX-functions.patch diff --git a/patches/dsound-EAX/0015-dsound-Implement-EAX-early-reflections.patch b/patches/dsound-EAX/0014-dsound-Implement-EAX-early-reflections.patch similarity index 100% rename from patches/dsound-EAX/0015-dsound-Implement-EAX-early-reflections.patch rename to patches/dsound-EAX/0014-dsound-Implement-EAX-early-reflections.patch diff --git a/patches/dsound-EAX/0016-dsound-Implement-EAX-decorrelator.patch b/patches/dsound-EAX/0015-dsound-Implement-EAX-decorrelator.patch similarity index 100% rename from patches/dsound-EAX/0016-dsound-Implement-EAX-decorrelator.patch rename to patches/dsound-EAX/0015-dsound-Implement-EAX-decorrelator.patch diff --git a/patches/dsound-EAX/0017-dsound-Implement-EAX-late-reverb.patch b/patches/dsound-EAX/0016-dsound-Implement-EAX-late-reverb.patch similarity index 100% rename from patches/dsound-EAX/0017-dsound-Implement-EAX-late-reverb.patch rename to patches/dsound-EAX/0016-dsound-Implement-EAX-late-reverb.patch diff --git a/patches/dsound-EAX/0018-dsound-Implement-EAX-late-all-pass-filter.patch b/patches/dsound-EAX/0017-dsound-Implement-EAX-late-all-pass-filter.patch similarity index 100% rename from patches/dsound-EAX/0018-dsound-Implement-EAX-late-all-pass-filter.patch rename to patches/dsound-EAX/0017-dsound-Implement-EAX-late-all-pass-filter.patch diff --git a/patches/dsound-EAX/0019-dsound-Various-improvements-to-EAX-support.patch b/patches/dsound-EAX/0018-dsound-Various-improvements-to-EAX-support.patch similarity index 100% rename from patches/dsound-EAX/0019-dsound-Various-improvements-to-EAX-support.patch rename to patches/dsound-EAX/0018-dsound-Various-improvements-to-EAX-support.patch diff --git a/patches/dsound-EAX/0020-dsound-Allow-disabling-of-EAX-support-in-the-registr.patch b/patches/dsound-EAX/0019-dsound-Allow-disabling-of-EAX-support-in-the-registr.patch similarity index 100% rename from patches/dsound-EAX/0020-dsound-Allow-disabling-of-EAX-support-in-the-registr.patch rename to patches/dsound-EAX/0019-dsound-Allow-disabling-of-EAX-support-in-the-registr.patch diff --git a/patches/dsound-EAX/0021-dsound-Add-stub-support-for-DSPROPSETID_EAX20_Listen.patch b/patches/dsound-EAX/0020-dsound-Add-stub-support-for-DSPROPSETID_EAX20_Listen.patch similarity index 100% rename from patches/dsound-EAX/0021-dsound-Add-stub-support-for-DSPROPSETID_EAX20_Listen.patch rename to patches/dsound-EAX/0020-dsound-Add-stub-support-for-DSPROPSETID_EAX20_Listen.patch diff --git a/patches/dsound-EAX/0022-dsound-Add-stub-support-for-DSPROPSETID_EAX20_Buffer.patch b/patches/dsound-EAX/0021-dsound-Add-stub-support-for-DSPROPSETID_EAX20_Buffer.patch similarity index 100% rename from patches/dsound-EAX/0022-dsound-Add-stub-support-for-DSPROPSETID_EAX20_Buffer.patch rename to patches/dsound-EAX/0021-dsound-Add-stub-support-for-DSPROPSETID_EAX20_Buffer.patch diff --git a/patches/patchinstall.sh b/patches/patchinstall.sh index beb0b595..f901ce47 100755 --- a/patches/patchinstall.sh +++ b/patches/patchinstall.sh @@ -51,7 +51,7 @@ usage() # Get the upstream commit sha upstream_commit() { - echo "1348d9e97b1e83c99b68e0c9b592798038dc7f41" + echo "f7ac364b0c06bbe7a1ef5b715f2be46b5e6c04d4" } # Show version information @@ -3410,33 +3410,31 @@ fi # | # | Modified files: # | * dlls/dsound/Makefile.in, dlls/dsound/buffer.c, dlls/dsound/dsound.c, dlls/dsound/dsound_eax.h, -# | dlls/dsound/dsound_main.c, dlls/dsound/dsound_private.h, dlls/dsound/eax.c, dlls/dsound/mixer.c, dlls/dsound/primary.c +# | dlls/dsound/dsound_main.c, dlls/dsound/dsound_private.h, dlls/dsound/eax.c, dlls/dsound/mixer.c # | if test "$enable_dsound_EAX" -eq 1; then - patch_apply dsound-EAX/0001-dsound-Get-rid-of-no-longer-needed-mix_buffer_len-fi.patch - patch_apply dsound-EAX/0002-dsound-Apply-filters-before-sound-is-multiplied-to-s.patch - patch_apply dsound-EAX/0003-dsound-Add-EAX-v1-constants-and-structs.patch - patch_apply dsound-EAX/0004-dsound-Report-that-we-support-EAX-v1.patch - patch_apply dsound-EAX/0005-dsound-Add-EAX-propset-stubs.patch - patch_apply dsound-EAX/0006-dsound-Add-EAX-presets.patch - patch_apply dsound-EAX/0007-dsound-Support-getting-and-setting-EAX-properties.patch - patch_apply dsound-EAX/0008-dsound-Support-getting-and-setting-EAX-buffer-proper.patch - patch_apply dsound-EAX/0009-dsound-Add-EAX-init-and-free-stubs.patch - patch_apply dsound-EAX/0010-dsound-Feed-data-through-EAX-function.patch - patch_apply dsound-EAX/0011-dsound-Allocate-EAX-delay-lines.patch - patch_apply dsound-EAX/0012-dsound-Add-EAX-VerbPass-stub.patch - patch_apply dsound-EAX/0013-dsound-Implement-EAX-lowpass-filter.patch - patch_apply dsound-EAX/0014-dsound-Add-delay-line-EAX-functions.patch - patch_apply dsound-EAX/0015-dsound-Implement-EAX-early-reflections.patch - patch_apply dsound-EAX/0016-dsound-Implement-EAX-decorrelator.patch - patch_apply dsound-EAX/0017-dsound-Implement-EAX-late-reverb.patch - patch_apply dsound-EAX/0018-dsound-Implement-EAX-late-all-pass-filter.patch - patch_apply dsound-EAX/0019-dsound-Various-improvements-to-EAX-support.patch - patch_apply dsound-EAX/0020-dsound-Allow-disabling-of-EAX-support-in-the-registr.patch - patch_apply dsound-EAX/0021-dsound-Add-stub-support-for-DSPROPSETID_EAX20_Listen.patch - patch_apply dsound-EAX/0022-dsound-Add-stub-support-for-DSPROPSETID_EAX20_Buffer.patch + patch_apply dsound-EAX/0001-dsound-Apply-filters-before-sound-is-multiplied-to-s.patch + patch_apply dsound-EAX/0002-dsound-Add-EAX-v1-constants-and-structs.patch + patch_apply dsound-EAX/0003-dsound-Report-that-we-support-EAX-v1.patch + patch_apply dsound-EAX/0004-dsound-Add-EAX-propset-stubs.patch + patch_apply dsound-EAX/0005-dsound-Add-EAX-presets.patch + patch_apply dsound-EAX/0006-dsound-Support-getting-and-setting-EAX-properties.patch + patch_apply dsound-EAX/0007-dsound-Support-getting-and-setting-EAX-buffer-proper.patch + patch_apply dsound-EAX/0008-dsound-Add-EAX-init-and-free-stubs.patch + patch_apply dsound-EAX/0009-dsound-Feed-data-through-EAX-function.patch + patch_apply dsound-EAX/0010-dsound-Allocate-EAX-delay-lines.patch + patch_apply dsound-EAX/0011-dsound-Add-EAX-VerbPass-stub.patch + patch_apply dsound-EAX/0012-dsound-Implement-EAX-lowpass-filter.patch + patch_apply dsound-EAX/0013-dsound-Add-delay-line-EAX-functions.patch + patch_apply dsound-EAX/0014-dsound-Implement-EAX-early-reflections.patch + patch_apply dsound-EAX/0015-dsound-Implement-EAX-decorrelator.patch + patch_apply dsound-EAX/0016-dsound-Implement-EAX-late-reverb.patch + patch_apply dsound-EAX/0017-dsound-Implement-EAX-late-all-pass-filter.patch + patch_apply dsound-EAX/0018-dsound-Various-improvements-to-EAX-support.patch + patch_apply dsound-EAX/0019-dsound-Allow-disabling-of-EAX-support-in-the-registr.patch + patch_apply dsound-EAX/0020-dsound-Add-stub-support-for-DSPROPSETID_EAX20_Listen.patch + patch_apply dsound-EAX/0021-dsound-Add-stub-support-for-DSPROPSETID_EAX20_Buffer.patch ( - echo '+ { "Sebastian Lackner", "dsound: Get rid of no longer needed mix_buffer_len field.", 1 },'; echo '+ { "Sebastian Lackner", "dsound: Apply filters before sound is multiplied to speakers.", 1 },'; echo '+ { "Mark Harmstone", "dsound: Add EAX v1 constants and structs.", 1 },'; echo '+ { "Mark Harmstone", "dsound: Report that we support EAX.", 1 },';