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
Wim Taymans
e82145aeae
spa-resample: don't flush too much
...
Also clamp the amount of input samples we push when flushing. do several
rounds of zero pushing until we have flushed enough.
Handle the cases where no input is needed or no output is generated.
Fixes crashes when downsampling from 96000 to 1000 Hz or so.
2022-07-13 12:02:12 +02:00
Wim Taymans
11bc60a53d
spa-resample: handle init errors
2022-07-12 17:39:58 +02:00
Wim Taymans
63f6cbc27a
spa-resample: add option to set CPU flags
...
To force SIMD implementations
2022-01-07 13:25:19 +01:00
Wim Taymans
88d7ea3d88
spa-resample: add some verbose info messages
2021-09-29 10:16:25 +02:00
Peter Hutterer
95a84e797a
treewide: replace !strcmp() with spa_streq()
...
This change is only done in source files for now, header files will be done
separately.
2021-05-18 22:10:27 +10: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
b87c0a9270
clean up options
...
make sure we can use -v for verbose mode
2020-04-02 14:34:02 +02:00
Wim Taymans
397787ec3e
spa-resample: getopt_long returns an int
2020-03-26 18:10:11 +01:00
Wim Taymans
0023aac9b9
resample: add some more qualities
...
Clamp quality to available qualities.
0 is a valid quality
2020-02-14 18:00:49 +01:00
Wim Taymans
484d211119
spa-resample: quality 0 is a valid value.
2020-02-14 16:55:37 +01:00
Wim Taymans
6603fab405
spa-resample: flush last samples
...
Use 0 samples to flush out the last samples from the resampler.
2020-02-14 09:50:49 +01:00
Wim Taymans
83f2e890ad
tools: add generic resampler tool
...
Add a tool that can convert the sample rate of an input file and
write it to an output file. This tool can be used to test the
resampler.
2020-02-13 16:46:03 +01:00