Commit Graph

377 Commits

Author SHA1 Message Date
Sam James
ba1cb7727e configure.ac: fix bashism in CXXFLAGS assignment
configure scripts need to be runnable with a POSIX-compliant /bin/sh.

On many (but not all!) systems, /bin/sh is provided by Bash, so errors
like this aren't spotted. Notably Debian defaults to /bin/sh provided
by dash which doesn't tolerate such bashisms as '=='.

This retains compatibility with bash.

Fixes configure warnings/errors like:
```
checking whether make supports nested variables... (cached) yes
configure: 3698: CXXFLAGS+= -Ofast: not found
```

Signed-off-by: Sam James <sam@gentoo.org>
2024-03-24 07:34:48 +00:00
Olli Parviainen
17b63eeb3e Merge pull request 'Use -O3 instead of -Ofast when targeting Emscripten (WebAssembly)' (#29) from fwcd/soundtouch:fix-cmake-emscripten into master
Reviewed-on: https://codeberg.org/soundtouch/soundtouch/pulls/29
2024-03-03 18:00:19 +00:00
Olli Parviainen
2e83c770b0 Merge pull request 'Set CMAKE_CXX_STANDARD to 17 in CMakeLists' (#30) from fwcd/soundtouch:cmake-cxx-standard-17 into master
Reviewed-on: https://codeberg.org/soundtouch/soundtouch/pulls/30
2024-03-03 17:56:28 +00:00
fwcd
5e624fff73 Set CMAKE_CXX_STANDARD to 17 2024-03-02 23:21:39 +01:00
fwcd
1c6a90804b Use -O3 instead of -Ofast when targeting Emscripten (WASM) 2024-03-02 23:02:06 +01:00
Olli Parviainen
f921e5b586 Fix DLL function import clause for gnu platform 2024-03-02 19:11:43 +02:00
Olli Parviainen
6872a2b6d0 Add SS_CharTypes.h 2024-03-02 18:52:42 +02:00
Olli Parviainen
d90844f67d Add class="current" to latest entry in change history 2024-02-12 17:48:11 +02:00
Olli Parviainen
375e6ccfe9 Windows: SoundStretch to accept wide-character command line attributes to support asian/non-latin files names. 2024-02-11 17:52:48 +02:00
Olli Parviainen
74514f5597 C# example: Update to NET toolit v4.8.1, x64 by default, update SoundTouch.dll binary 2023-12-03 17:28:15 +02:00
Olli Parviainen
3781ff5d55 Merge pull request 'fix: fix the CMake config for SoundTouchDLL' (#24) from aminya/soundtouch:dll-cmake into master
Thanks for the MR.

Reviewed-on: https://codeberg.org/soundtouch/soundtouch/pulls/24
2023-12-03 11:24:27 +00:00
Amin Yahyaabadi
e56457728c fix: fix the CMake config for SoundTouchDLL 2023-12-03 11:24:27 +00:00
Olli Parviainen
c4c922c7b9 Merge pull request 'fix: fix uint conversion for number of samples' (#25) from aminya/soundtouch:conversions into master
Reviewed-on: https://codeberg.org/soundtouch/soundtouch/pulls/25
2023-12-03 11:23:25 +00:00
Amin Yahyaabadi
28df544c48
fix: fix uint conversion for number of samples 2023-12-02 21:22:48 -08:00
Olli Parviainen
dd2252e9af Merge pull request 'Do not add -mfpu=neon flag under aarch64' (#15) from fundawang/soundtouch:master into master
Reviewed-on: https://codeberg.org/soundtouch/soundtouch/pulls/15
2023-04-24 15:42:50 +00:00
fundawang
55bd933dba Do not add -mfpu=neon flag under aarch64 2023-04-23 22:26:37 +00:00
Olli Parviainen
8726394399 Merge pull request 'Fixed MSVC build errors' (#14) from oviano/soundtouch:fixed-msvc-build-error into master
Reviewed-on: https://codeberg.org/soundtouch/soundtouch/pulls/14
2023-04-12 16:15:56 +00:00
Oliver Collyer
170349af69 Fixed MSVC build errors 2023-04-12 14:55:46 +01:00
Olli Parviainen
b477936716 Resolve gcc compiler warnings in ARM environment 2023-04-02 18:48:28 +03:00
Olli Parviainen
cc24adfc6d Merge pull request 'Expose BPM detector beat position and strength retrieval API via SoundTouchDLL.' (#11) from sagamusix/soundtouch:master into master
Reviewed-on: https://codeberg.org/soundtouch/soundtouch/pulls/11
2023-03-26 17:03:37 +00:00
Johannes Schultz
808bf021e6 Expose BPM detector beat position and strength retrieval API via SoundTouchDLL. 2023-03-26 18:54:04 +02:00
Olli
63db6bf344 Add -Wextra -Wzero-as-null-pointer-constant to configure.ac
Signed-off-by: Olli <oparviai'at'iki.fi>
2023-03-25 11:49:10 +02:00
Olli Parviainen
05d2835f65 Merge pull request 'Increase warning settings' (#10) from Minty-Meeo/soundtouch:master into master
Reviewed-on: https://codeberg.org/soundtouch/soundtouch/pulls/10
2023-03-25 09:44:23 +00:00
Minty-Meeo
1eda9c0b01 Resolve [-Wzero-as-null-pointer-constant] 2023-03-24 12:32:50 -05:00
Minty-Meeo
230ae2f9a9 Resolve [-Wextra]
[-Winconsistent-missing-override]
[-Wunused-const-variable]
[-Wunused-private-field]
[-Wunused-parameter]
2023-03-24 12:32:24 -05:00
Olli
a88c82d0ab Enable -Wall -Wno-unknown-pragmas compiler setting
Enable `-Wall -Wno-unknown-pragmas` compiler setting to show warnings
during build.

Supress "unknown-pragmas" warning though because it's legitimely used
for openmp support.

Signed-off-by: Olli <oparviai'at'iki.fi>
2023-03-19 17:06:47 +02:00
serge-sans-paille
82cb3f99bb Remove unused dScaler variable in FIRFilter.cpp
Code is guarded by SOUNDTOUCH_FLOAT_SAMPLES but never actually used. Get
rid of it as it triggers a warning under -Werror=unused-variable.
--
Cherry-picked from
https://gitlab.com/serge-sans-paille/soundtouch/-/tree/fix/remove-unused-float-scaler
2023-03-19 16:52:18 +02:00
serge-sans-paille
4070166f4a Avoid signed/unsigned comparison when possible
As reported by -Wall
--
Cherry-picked from
https://gitlab.com/serge-sans-paille/soundtouch/-/tree/fix/sign-issue
2023-03-19 16:50:59 +02:00
serge-sans-paille
4bcbb3556f Remove trivially unused variables, as pointed out by -Wunused-variable
cherry-picked from
https://gitlab.com/serge-sans-paille/soundtouch/-/tree/fix/remove-unused-variables
2023-03-19 16:50:56 +02:00
Olli
29fba832a7 Update version to 2.3.2
Signed-off-by: Olli <oparviai'at'iki.fi>
2022-11-08 18:02:17 +02:00
Olli Parviainen
9e798c0f7f Fix compiler flags in SoundTouchDLL/Makefile.am
Fix compiler flags in SoundTouchDLL/Makefile.am so that flags inherited
from master makefile get included.

Signed-off-by: Olli Parviainen <oparviai'at'iki.fi>
2022-11-02 19:55:10 +02:00
Olli Parviainen
ddc351bfb6 Merge remote-tracking branch 'origin/config-updates' 2022-11-02 19:43:23 +02:00
Olli
774257ab5f Small updates to dynamic-link libary build script & pascal example
Signed-off-by: Olli <oparviai'at'iki.fi>
2022-10-31 18:51:35 +02:00
Olli Parviainen
eaa9090f65 Merge pull request 'Migrate configuration file, add building of dynamic-link version to the master makefile' (#9) from config-updates into master
Reviewed-on: https://codeberg.org/soundtouch/soundtouch/pulls/9
2022-10-30 17:19:16 +01:00
Olli
17925302ae Migrate configuration file, add building of dynamic-link version to the master makefile
- Migrate configuration.ac file to new autotools
- add building of also the dynamic-link version within
  'source/SoundTouchDLL' directory from the main-level makefile
- add a simple lazarus/pascal example project that uses the dynamic-link
  version of the SoundTouch library

Signed-off-by: Olli <oparviai'at'iki.fi>
2022-10-30 18:15:10 +02:00
Olli Parviainen
8562287944 Merge pull request 'Comment out _init_threading call in processFile function' (#1) from shwixel/soundtouch:master into master
Reviewed-on: https://codeberg.org/soundtouch/soundtouch/pulls/1
2022-01-23 16:10:34 +01:00
Olli Parviainen
9f14bd8b6e Merge pull request 'Fix exception throwing across DLL boundary' (#2) from sagamusix/soundtouch:master into master
Reviewed-on: https://codeberg.org/soundtouch/soundtouch/pulls/2
2022-01-23 16:08:35 +01:00
Olli Parviainen
64760eb34e Merge pull request 'Add 'override' keyword' (#3) from vestral/soundtouch:override into master
Reviewed-on: https://codeberg.org/soundtouch/soundtouch/pulls/3
2022-01-23 16:01:34 +01:00
Vestral
bb0434dd6e Add 'override' keyword 2022-01-22 09:22:02 +09:00
Johannes Schultz
1a07a649e4 C functions mustn't throw. Catch exceptions in SoundTouch DLL interface because the user cannot catch them. 2021-12-04 22:09:51 +01:00
Johannes Schultz
bdafd3b08c Ignore .vs folders created by Visual Studio 2021-12-04 22:02:06 +01:00
Daniil Zakharov
ab2b8ca91f Comment out _init_threading call in processFile function 2021-12-03 02:42:45 +03: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