Commit Graph

462 Commits

Author SHA1 Message Date
Chris Cannam
5526b88b81 Add header for ptrdiff_t (thanks to rather old PR from Robin Gareus) 2024-04-26 17:42:53 +01:00
Chris Cannam
6915476164 Update dates 2024-03-07 15:19:37 +00:00
Chris Cannam
e5bff67c13 Replace platform-dependent barriers with c++11 std 2024-03-07 11:50:39 +00:00
Chris Cannam
f0d702e15d Merge from branch keyframe-jni 2024-01-05 15:39:05 +00:00
Chris Cannam
9027f86022 Refine warning pragmas, and make it possible to revert to all warnings (e.g. in order to fix them!) 2024-01-05 15:37:44 +00:00
Chris Cannam
9ea386261b Refine these a little. To revisit 2023-12-15 20:50:22 +00:00
Chris Cannam
91db97f8f5 Fix some compiler warnings, and suppress a few others for MSVC 2023-12-15 20:32:57 +00:00
Chris Cannam
97091aebe8 Suppress narrowing conversion warnings (if enabled) 2023-12-15 20:14:51 +00:00
Chris Cannam
591be7cbab Fix compiler warnings 2023-12-15 20:13:59 +00:00
Chris Cannam
dc745e3487 Implement & exercise getKeyFrameMap in JNI 2023-12-14 14:31:08 +00:00
Chris Cannam
e54fd1fd95 Add simple Java test code 2023-12-14 13:52:19 +00:00
Chris Cannam
adc31e77e9 Win build fix 2023-11-17 08:37:53 +00:00
Chris Cannam
2be46b0dff Relax this threshold again a bit 2023-07-28 11:42:47 +01:00
Chris Cannam
6a41d2b902 Add getProcessSizeLimit to C API as well 2023-07-25 13:31:28 +01:00
Chris Cannam
c69c3b7473 Add getProcessSizeLimit 2023-07-25 13:11:21 +01:00
Chris Cannam
df596f472e Minor threshold tweak 2023-06-26 11:38:20 +01:00
Chris Cannam
2949996cf6 Remove redundant test (processOneChunk checks this and returns true if accumulator empty when draining) 2023-06-08 09:44:09 +01:00
Chris Cannam
d97551834f Make some debug lower priority 2023-06-08 09:40:11 +01:00
Chris Cannam
73f7f7bb0a Fix handling of oversized process buffers in mid-side mode 2023-06-07 17:01:47 +01:00
Chris Cannam
74395b9976 Fix oversized final block tests for libsamplerate as well 2023-06-07 14:37:29 +01:00
Chris Cannam
fe1aafea28 Further work on end state with long process sizes in R2. This passes tests but is not the minimal necessary change I think - review. 2023-06-07 11:16:07 +01:00
Chris Cannam
b1cd0913e2 Significant further work on internal buffer sizes 2023-06-01 14:09:39 +01:00
Chris Cannam
af6759f74b Work on proper sizing of internal buffers 2023-06-01 10:51:20 +01:00
Chris Cannam
173c7212f1 Ensure tests actually exercise large input buffers 2023-06-01 10:51:09 +01:00
Chris Cannam
f0b9061028 Use longer time ratio, otherwise we are retrieving fewer samples than we intended to 2023-05-31 14:06:15 +01:00
Chris Cannam
ffaef18a9d Use parameters more similar to the other tests, as the internal test checking code expects these (otherwise we have spurious failures with some resamplers) 2023-05-31 09:35:27 +01:00
Chris Cannam
488de631a0 Add test with longer blocksize in realtime mode 2023-05-31 09:10:52 +01:00
Chris Cannam
529634134e Attempt a test for libatomic requirement 2023-04-25 17:03:49 +01:00
Chris Cannam
9e8ef1eeaf Further slackening necessary for 32-bit builds 2023-04-06 11:04:45 +01:00
Chris Cannam
ab9c0de723 Slacken a test slightly for kissfft builds 2023-04-05 12:00:00 +01:00
Chris Cannam
dfef60c486 Slacken some test expectations appropriately for non-builtin resampler, after reviewing the output 2023-04-05 11:51:26 +01:00
Chris Cannam
b9f2b58e1f Fix use of final flag more than once at end of processing (causing a test failure with libsamplerate) 2023-04-05 11:14:04 +01:00
Chris Cannam
ba9fe26dcd Never phase reset on silence in side channel, now that such resets are carried across 2023-03-24 17:51:44 +00:00
Chris Cannam
fbb4979f87 Further reset tests 2023-03-23 17:26:36 +00:00
Chris Cannam
963752951d Fix erroneous limits calculations 2023-03-23 17:26:28 +00:00
Chris Cannam
adfe1ff2cf Further resets 2023-03-23 17:26:11 +00:00
Chris Cannam
d063f851b4 Further test 2023-03-23 13:01:19 +00:00
Chris Cannam
47f8845486 Remove duplicate tests 2023-03-23 10:26:57 +00:00
Chris Cannam
99d2d4a080 Further adjustments to reset, and ensure initial prev in/out hops are set the same way if ratios set after construction as they are if ratios set on construction. Plus tests 2023-03-23 10:25:18 +00:00
Chris Cannam
6c71159593 More reset tests, tighten up reset logic 2023-03-22 13:26:15 +00:00
Chris Cannam
5f93a90902 Merge from branch midside3 2023-03-20 10:08:20 +00:00
Chris Cannam
2dcb27d3dd Toward properly testing reset 2023-03-20 10:08:01 +00:00
Chris Cannam
e2611485d8 Use mid-side processing in channels-together mode in R3; for a more stable stereo image, ensure transient bins are reset in mid whenever they are in side 2023-03-17 13:19:18 +00:00
Chris Cannam
d3830870c0 Experiments with mid-side in R3 - in this code always used when channels=2 2023-03-15 18:01:21 +00:00
Chris Cannam
4d5460c3e8 Reporting fix 2023-03-08 14:44:52 +00:00
Chris Cannam
a4299b0ec6 Expand tests 2023-02-21 11:30:04 +00:00
Chris Cannam
4b4c50b479 Tests for handling of final flag 2023-02-21 10:28:57 +00:00
Chris Cannam
d5dd0e573a Further timing tests 2023-02-20 17:46:10 +00:00
Chris Cannam
1368ba87ee Fix latency calculations in resample-before modes. This affects realtime use in the non-recommended realtime pitch modes (i.e. those other than HighConsistency) 2023-02-20 15:26:12 +00:00
Chris Cannam
afd1b1f86c Ensure we consume when called with final=true and no samples - this was the default behaviour in R2 and also initially in R3 but changed when resample-before modes were added 2023-02-20 15:25:27 +00:00