1
0
mirror of https://github.com/RPCS3/soundtouch.git synced 2024-09-16 14:32:29 +02:00
Commit Graph

390 Commits

Author SHA1 Message Date
Megamouse
394e1f58b2 Fix receiveSamples buffer advance if maxSamples is bigger than samplesInBuffer 2024-04-04 22:36:27 +02:00
Vestral
2cf59a0d51 Allow direct buffer access 2024-04-04 22:35:10 +02:00
Vestral
ab71c02cf0 Clean up defines 2024-04-04 22:30:18 +02:00
Vestral
3c0386d4f2 Remove cpu runtime checks 2024-04-04 22:27:14 +02:00
Olli
e83424d592 Update latest stable version to 2.3.3 2024-03-29 20:49:53 +02:00
Olli Parviainen
0095a3d933 soundstretch: Print hello text even if no switches were given 2024-03-29 20:33:00 +02:00
Olli Parviainen
077e73422f Win/VisualStudio: Change Win32 debug settings to avoid build warning 2024-03-29 20:25:20 +02:00
Olli
f0ef4cd853 automake: Build SoundTouchDLL only if FLOAT samples used 2024-03-29 20:03:34 +02:00
Olli
7dce7268cd Linux soundstretch: Fix unhandled exception error 2024-03-29 19:42:55 +02:00
Olli
63002027de dos2unix:ify line endings, source code formatter 2024-03-29 19:42:23 +02:00
Olli Parviainen
290b0b13e2 Merge pull request 'source/SoundTouchDLL: don't clobber CXXFLAGS, LDFLAGS' (#35) from thesamesam/soundtouch:no-clobber-flags into master
Reviewed-on: https://codeberg.org/soundtouch/soundtouch/pulls/35
2024-03-24 13:58:14 +00:00
Olli Parviainen
2a24e3b454 Merge pull request 'configure.ac: fix bashism in CXXFLAGS assignment' (#34) from thesamesam/soundtouch:bashism into master
Reviewed-on: https://codeberg.org/soundtouch/soundtouch/pulls/34
2024-03-24 13:52:31 +00:00
Sam James
02c22eceea
source/SoundTouchDLL: don't clobber CXXFLAGS, LDFLAGS
automake warns about this, telling us to set AM_CXXFLAGS and AM_LDFLAGS instead.

This fixes respecting LDFLAGS in particular (the CXXFLAGS one was harmless).

Signed-off-by: Sam James <sam@gentoo.org>
2024-03-24 07:41:49 +00:00
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