1
0
mirror of https://github.com/RPCS3/soundtouch.git synced 2024-11-08 12:02:28 +01:00
Commit Graph

336 Commits

Author SHA1 Message Date
Johannes Schultz
bdafd3b08c Ignore .vs folders created by Visual Studio 2021-12-04 22:02:06 +01:00
Olli
9fedba866e synced gitlab+codeberg masters 2021-10-31 17:20:56 +02:00
Olli
0afe414a18 Merge remote-tracking branch 'gitlab/master' 2021-10-31 17:20:19 +02:00
Olli
b9092339f5 add links to stable tarballs 2021-10-31 17:16:13 +02:00
Olli
85c03d6063 update readme.md 2021-10-31 17:11:53 +02:00
Olli
7ede48e436 update repository location 2021-10-31 16:57:52 +02:00
Olli Parviainen
8a9d4acb12 Add links to source code release tarballs
Signed-off-by: Olli Parviainen <oparviai at iki fi>
2021-10-14 19:16:15 +03:00
Olli
d063c0d9f9 Changed gitlab.com references to codeberg.org 2021-10-14 18:29:15 +03:00
Olli Parviainen
b9afe0ac11 Merge branch 'cmake-openmp' into 'master'
CMake: Add option for OpenMP

See merge request soundtouch/soundtouch!24
2021-10-04 16:24:22 +00:00
Daniel E
572d12c3e9 CMake: Add option for OpenMP
Make support for OpenMP optional (disabled by default)
2021-10-03 23:45:00 +00:00
Olli Parviainen
e016ebfcd5 Merge branch 'diizzyy-master-patch-90177' into 'master'
CMake: Add aarch64 as identifier for ARM 64-bit

See merge request soundtouch/soundtouch!21
2021-10-03 15:49:51 +00:00
Daniel E
4fd8e1acb9 CMake: Add aarch64 as identifier for ARM 64-bit
On FreeBSD ARM 64-bit is called aarch64
2021-09-26 17:09:05 +00:00
Olli Parviainen
afb0e4a73f Merge branch 'diizzyy-master-patch-80799' into 'master'
CMake: Fix build with INTEGER_SAMPLES enabled

See merge request soundtouch/soundtouch!20
2021-09-19 17:45:35 +00:00
Daniel E
77cbbb2227 CMake: Fix build with INTEGER_SAMPLES enabled 2021-09-18 16:21:41 +00:00
Olli Parviainen
e1f315f535 Merge branch 'dll_exports' into 'master'
CMake: fix SoundTouchDLL build with MSVC

See merge request soundtouch/soundtouch!18
2021-09-07 15:26:53 +00:00
Olli Parviainen
82e9ebd075 Merge branch 'fpic' into 'master'
CMake: fix compiler warning about unknown option -fPIC with MSVC

See merge request soundtouch/soundtouch!19
2021-09-07 15:11:30 +00:00
Be
fd8e4c6835
CMake: fix compiler warning about unknown option -fPIC with MSVC 2021-09-07 08:42:45 -05:00
Be
d7b7a2f3a1
CMake: fix SoundTouchDLL build with MSVC 2021-09-07 08:35:18 -05:00
Olli
7df5617a4b cmake: remove "CMAKE" compiler definition and instead add mock "soundtouch_config.h"
Add a empty mock "soundtouch_config.h" file and remove "CMAKE" compiler
definition that was used in #ifdef that skipped including
"soundtouch_config.h" in cmake build.

This is to avoid errors about missing include file when not using
autotools build.

Also update version to 2.3.1

Signed-off-by: Olli <oparviai'at'iki.fi>
2021-09-06 20:13:01 +03:00
Olli Parviainen
2e606befef Merge branch 'shared-lib-version' into 'master'
Set VERSION and SOVERSION for shared libraries

See merge request soundtouch/soundtouch!15
2021-09-01 14:58:22 +00:00
Olli Parviainen
268a91494b Merge branch 'configure.ac' into 'master'
Fix for commit 3d7bf376

See merge request soundtouch/soundtouch!17
2021-09-01 14:57:50 +00:00
Olli Parviainen
2adf2ae71d Merge branch 'incorrect-fsf-address' into 'master'
Correct fsf address

See merge request soundtouch/soundtouch!16
2021-09-01 14:57:18 +00:00
Sérgio M. Basto
9f72a8aa6b Fix for commit 3d7bf376
we need use += and a space CXXFLAGS+=" -O3 -ffast-math" , if not += you override all system settings for CXXFLAGS and none for LDFLAGS, which ends with "/usr/bin/ld: /tmp/ccARck2g.o: relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE`"

https://stackoverflow.com/a/38579792/778517
2021-08-31 22:11:27 +01:00
Sérgio M. Basto
d11a3adb2d Correct fsf address
https://fedoraproject.org/wiki/Common_Rpmlint_issues#incorrect-fsf-address
2021-08-30 19:07:29 +01:00
Uwe Klotz
847edf4548 Set VERSION and SOVERSION for shared libraries
Required by the RPM builds for Fedora:

b7c49ac115
2021-08-30 10:01:38 +02:00
Be
3148382fa8 CMake: make building soundstretch optional 2021-08-29 18:19:28 +03:00
Olli
c65afe49f6 cmake: add -mfpu=neon if neon build 2021-08-21 13:25:24 +03:00
Olli
28b32c0fbb Update readme, version info for release v2.3.0
Signed-off-by: Olli <oparviai'at'iki.fi>
2021-08-21 13:00:35 +03:00
Olli
bd2149daf6 Fix cmake NEON condition
Signed-off-by: Olli <oparviai'at'iki.fi>
2021-08-21 12:59:59 +03:00
Olli
776443f914 Disable OpenMP init_threading workaround in Android build
Signed-off-by: Olli <oparviai'at'iki.fi>
2021-08-21 11:38:17 +03:00
Olli
65caafdc5f cmake: add 'soundstretch' utility, regroup CMakeList.txt by targets
- add 'soundstretch' utility as cmake build target
- group CMakeList.txt contents per target for better readability
2021-08-20 21:56:12 +03:00
Olli Parviainen
6dce1068d9 Merge branch 'optimizations' into 'master'
CMake: set optimization options for MSVC as well as GCC & Clang

See merge request soundtouch/soundtouch!13
2021-08-20 17:57:09 +00:00
Be
eb6d970970
CMake: set optimization options for MSVC as well as GCC & Clang 2021-08-18 12:24:18 -05:00
Olli
f974b28682 Further cmake changes for SoundTouchDLL compilation
- enable "-Ofast" compilation flags for cmake build
- adjust compiler flags for the SoundTouchDLL compilation
- add cmake-generated "SoundTouchDLL_EXPORTS" as alias for "DLL_EXPORT"
- hide cmake temporary files in gitignore

Signed-off-by: Olli <oparviai'at'iki.fi>
2021-08-17 19:50:29 +03:00
Olli Parviainen
220eb7857c Merge branch 'cmake' into 'master'
CMake fixes for SoundTouchDLL

See merge request soundtouch/soundtouch!12
2021-08-17 16:49:07 +00:00
Be
dae91683bc
CMake fixes for SoundTouchDLL 2021-08-16 11:23:01 -05:00
Olli Parviainen
fa223609d2 Merge branch 'cmake' into 'master'
add CMake build system

See merge request soundtouch/soundtouch!11
2021-08-16 16:03:43 +00:00
Be
3617bd166b
add build directory to .gitignore 2021-08-16 10:09:32 -05:00
Be
d8d86e1a92
add CMake build system 2021-08-16 10:09:32 -05:00
Olli
e0e00878fc Remove surplus semicolon
Remove surplus semicolon that caused warning if compiling with
'-pedantic' compiler switch.

Signed-off-by: Olli <oparviai 'at' iki.fi>
2021-07-30 14:53:04 +03:00
Olli
17a63e99d5 Fix bug with too small initial skipFract value
Fix bug with too small initial skipFract value with certain processing
parameter set: replaces assert with assignment that corrects the
situation.
2021-03-03 18:11:45 +02:00
Olli
6533514372 Improve soundtouch.clear() so that it really clears TDStretch & RateTransposer states
Improve soundtouch.clear() so that it really clears all TDStretch &
RateTransposer state variables. Before this clear() left last processed
sample or fractional position state uncleared, which caused slightly
different result if same stream was processed again after clear().
2021-01-30 19:02:08 +02:00
Olli
81b0d74727 Correct initial skip value
... so that with nominal tempo the expected best sequence overlapping
location lays in middle of the correlation window. This will ensure that
with output should be similar to input when tempo adjustment is zero.
2021-01-28 21:32:35 +02:00
Olli
5e76cf2f6d Disable skipping of unaligned SIMD memory offset by default
Change default setting so that SIMD does not skip of unaligned memory
offsets, as that likely is not a necessary compromise with concurrent
CPUs any more.
2021-01-28 21:26:38 +02:00
Olli
f38cfa6850 Call "clear()" after changing anti-alias filter on/off
Call "clear()" after changing anti-alias filter on/off to prefill
buffers appropriately.
2021-01-28 20:19:06 +02:00
Olli Parviainen
762f56024b Updated versions and documents for release 2.2 2020-10-15 18:23:34 +03:00
Olli Parviainen
1d42d899ab Merge branch 'improve-autovectorization' into 'master'
Improvements to help compiler autovectorization

See merge request soundtouch/soundtouch!10
2020-10-13 18:19:08 +00:00
Olli Parviainen
bf3cec0244 Improvements to help compiler autovectorization
Refactored FIRfilter and TDStretch hot-spot routines to help compiler
perform more efficient autovectorization.

Benchmarked:
- 2x/3x improvement in gcc-generated x86 SIMD code execution
  times for SSE2/AVX instruction extensions accordingly, when
  hand-tuned SSE intrinsics were disabled. Hand-tuned SSE code
  still is slightly faster than gcc-produced AVX.
- 2.4x improvement for cumulative ARM NEON tunings when compared to
  previous SoundTouch release.

Signed-off-by: Olli Parviainen <oparviai'at'iki.fi>
2020-10-13 20:46:23 +03:00
Olli Parviainen
a911a1e986 Bugfix in integer version of calcCrossCorrAccumulate()
Using "unsigned long" for "lnorm" variable that was yet made negative in very first step caused incorrect calculation result. Corrected the type to "long".

Signed-off-by: Olli Parviainen <oparviai@iki.fi>
2020-10-03 16:58:00 +03:00
Olli Parviainen
3e74d1d18f Fixed characters in source code comments that ought to be ± 2020-07-08 19:13:30 +03:00