mpd/src/pcm
bitkeeper 9aa432c078 Support soxr custom recipes.
MPD uses soxr with prefined resample recipes. Soxr also support defining a recipe your self.
This commit will support a custom recipe by changing the existing quality setting to "custom".

The same structs as the predefined recipes uses can now set by hand.

This will make the following settings available:
- precision 16|20|24|28|32 bits, example "28"
- phase_response - 0-100, example "45"
- passband_end - used bandwidth of source 80-99.7%, example "99.7.0"
- stopband_begin - anti aliasing 100.0+%, example "100".
- attenuation - signal reduciton in dB's, 0-30. example "3.0".
- flags "0" - additional bitmask with extra settings

The data is set in the structs soxr_quality_spec and soxr_io_spec (found in soxr.h).
2020-09-04 18:32:03 +02:00
..
AudioFormat.cxx replace assert.h with cassert 2020-03-12 15:25:38 -07:00
AudioFormat.hxx release v0.21.24 2020-06-10 22:58:41 +02:00
AudioParser.cxx replace assert.h with cassert 2020-03-12 15:25:38 -07:00
AudioParser.hxx AudioFormat: move to pcm/ 2020-01-18 20:24:59 +01:00
Buffer.cxx copyright year 2020 2020-01-18 19:23:49 +01:00
Buffer.hxx replace stdint.h with cstdint 2020-03-12 19:04:39 -07:00
ChannelDefs.hxx copyright year 2020 2020-01-18 19:23:49 +01:00
ChannelsConverter.cxx replace assert.h with cassert 2020-03-12 15:25:38 -07:00
ChannelsConverter.hxx replace assert.h with cassert 2020-03-12 15:25:38 -07:00
CheckAudioFormat.cxx AudioFormat: move to pcm/ 2020-01-18 20:24:59 +01:00
CheckAudioFormat.hxx AudioFormat: move to pcm/ 2020-01-18 20:24:59 +01:00
Clamp.hxx replace stdint.h with cstdint 2020-03-12 19:04:39 -07:00
ConfiguredResampler.cxx replace assert.h with cassert 2020-03-12 15:25:38 -07:00
ConfiguredResampler.hxx copyright year 2020 2020-01-18 19:23:49 +01:00
Convert.cxx replace assert.h with cassert 2020-03-12 15:25:38 -07:00
Convert.hxx copyright year 2020 2020-01-18 19:23:49 +01:00
Dither.cxx pcm/Dither: use using instead of typedef 2020-02-01 13:38:00 +01:00
Dither.hxx replace stdint.h with cstdint 2020-03-12 19:04:39 -07:00
Dop.cxx remove std::bind usage as much as possible 2020-05-04 15:40:28 -07:00
Dop.hxx replace stdint.h with cstdint 2020-03-12 19:04:39 -07:00
Dsd2Pcm.cxx dsd/Dsd2Pcm: convert struct GenerateCtableValue to lambda 2020-05-07 15:04:51 +02:00
Dsd2Pcm.hxx replace stdint.h with cstdint 2020-03-12 19:04:39 -07:00
Dsd16.cxx remove std::bind usage as much as possible 2020-05-04 15:40:28 -07:00
Dsd16.hxx replace stdint.h with cstdint 2020-03-12 19:04:39 -07:00
Dsd32.cxx remove std::bind usage as much as possible 2020-05-04 15:40:28 -07:00
Dsd32.hxx replace stdint.h with cstdint 2020-03-12 19:04:39 -07:00
Export.cxx remove unreachable code 2020-03-16 00:14:13 -07:00
Export.hxx replace stdint.h with cstdint 2020-03-12 19:04:39 -07:00
FallbackResampler.cxx replace assert.h with cassert 2020-03-12 15:25:38 -07:00
FallbackResampler.hxx copyright year 2020 2020-01-18 19:23:49 +01:00
FloatConvert.hxx fix double promotions 2020-03-16 12:43:24 -07:00
FormatConverter.cxx replace assert.h with cassert 2020-03-12 15:25:38 -07:00
FormatConverter.hxx replace assert.h with cassert 2020-03-12 15:25:38 -07:00
GlueResampler.cxx replace assert.h with cassert 2020-03-12 15:25:38 -07:00
GlueResampler.hxx copyright year 2020 2020-01-18 19:23:49 +01:00
Interleave.cxx copyright year 2020 2020-01-18 19:23:49 +01:00
Interleave.hxx replace stdint.h with cstdint 2020-03-12 19:04:39 -07:00
LibsamplerateResampler.cxx replace assert.h with cassert 2020-03-12 15:25:38 -07:00
LibsamplerateResampler.hxx copyright year 2020 2020-01-18 19:23:49 +01:00
meson.build AudioFormat: move to pcm/ 2020-01-18 20:24:59 +01:00
Mix.cxx fix double promotions 2020-03-16 12:43:24 -07:00
Mix.hxx replace stddef.h with cstddef 2020-03-12 19:04:38 -07:00
Neon.hxx copyright year 2020 2020-01-18 19:23:49 +01:00
Order.cxx release v0.21.23 2020-04-23 18:01:23 +02:00
Order.hxx copyright year 2020 2020-01-18 19:23:49 +01:00
Pack.cxx *: use auto 2020-02-01 14:02:43 +01:00
Pack.hxx replace stdint.h with cstdint 2020-03-12 19:04:39 -07:00
PcmChannels.cxx replace assert.h with cassert 2020-03-12 15:25:38 -07:00
PcmChannels.hxx replace stdint.h with cstdint 2020-03-12 19:04:39 -07:00
PcmDsd.cxx replace assert.h with cassert 2020-03-12 15:25:38 -07:00
PcmDsd.hxx replace stdint.h with cstdint 2020-03-12 19:04:39 -07:00
PcmFormat.cxx *: add explicit 2020-02-01 14:02:43 +01:00
PcmFormat.hxx replace stdint.h with cstdint 2020-03-12 19:04:39 -07:00
Prng.hxx copyright year 2020 2020-01-18 19:23:49 +01:00
Resampler.hxx copyright year 2020 2020-01-18 19:23:49 +01:00
RestBuffer.hxx replace stddef.h with cstddef 2020-03-12 19:04:38 -07:00
SampleFormat.cxx replace assert.h with cassert 2020-03-12 15:25:38 -07:00
SampleFormat.hxx replace stdint.h with cstdint 2020-03-12 19:04:39 -07:00
ShiftConvert.hxx copyright year 2020 2020-01-18 19:23:49 +01:00
Silence.cxx copyright year 2020 2020-01-18 19:23:49 +01:00
Silence.hxx replace stdint.h with cstdint 2020-03-12 19:04:39 -07:00
SoxrResampler.cxx Support soxr custom recipes. 2020-09-04 18:32:03 +02:00
SoxrResampler.hxx copyright year 2020 2020-01-18 19:23:49 +01:00
Traits.hxx replace stdint.h with cstdint 2020-03-12 19:04:39 -07:00
Volume.cxx replace stdint.h with cstdint 2020-03-12 19:04:39 -07:00
Volume.hxx fix double promotions 2020-03-16 12:43:24 -07:00