Barnabás Pőcze
934ab3036e
treewide: use SPDX tags to specify copyright information
...
SPDX tags make the licensing information easy to understand and clear,
and they are machine parseable.
See https://spdx.dev for more information.
2023-02-16 10:54:48 +00:00
Peter Hutterer
49f3d5842e
test: replace all spa_assert() macros with spa_assert_se()
...
These are tests, we never want those to be optimized away.
2021-07-27 10:24:44 +10:00
Wim Taymans
51d44e9154
test: improve resampler test
...
Test with different amount of input samples.
2021-01-18 15:08:23 +01:00
Wim Taymans
540011f1e3
test-resample: fix unit test
...
Caller should not have to resubmit old samples anymore.
Fixes #551
2021-01-09 10:55:51 +01:00
Wim Taymans
32c015d01e
tests: free resample after usage
...
See #497
2020-12-21 19:52:35 +01:00
Wim Taymans
3c7699980f
tests: make arrays a bit larger
...
See #479
2020-12-21 19:38:53 +01:00
Wim Taymans
0d1cef6b3a
audioconvert: move some things around
...
To make it easier to add other implementations later.
Improve selection of resampler function
2020-04-03 18:03:42 +02:00
Wim Taymans
046f41c31c
test: fix number of queued samples
...
The number of queued samples is twice the delay.
2020-02-14 10:52:21 +01:00
Wim Taymans
454e743d1a
resample: make quality configurable
2020-02-12 13:31:03 +01:00
Wim Taymans
b1bfc900d6
improve: debug
2019-09-05 13:09:01 +02:00
Wim Taymans
a6a7b3ab54
resample: add functions to calculate in/out length
...
Add test for this as well
2019-07-08 18:26:08 +02:00
Wim Taymans
8cda0dd962
test: clear resample struct before use
2019-06-07 17:25:28 +02:00
Wim Taymans
4fafd10a89
resample-native: cleanups
...
Add some comments, reorganize for better readability
More alignment of filter and history
Add some more test
2019-03-27 11:23:52 +01:00
Wim Taymans
9c8913437b
audioconvert: add simple and faster resampler
...
Add a sinc based resampler that, unlike speex, avoids memcpy and
works directly on the source data. It also allows for ssse3
optimizations and aligned loads. It will later switch to table
interpolation when doing variable rate.
2019-03-26 12:58:26 +01:00