• bitkeeper's avatar
    Support soxr custom recipes. · 9aa432c0
    bitkeeper authored
    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).
    9aa432c0
Name
Last commit
Last update
..
AudioFormat.cxx Loading commit data...
AudioFormat.hxx Loading commit data...
AudioParser.cxx Loading commit data...
AudioParser.hxx Loading commit data...
Buffer.cxx Loading commit data...
Buffer.hxx Loading commit data...
ChannelDefs.hxx Loading commit data...
ChannelsConverter.cxx Loading commit data...
ChannelsConverter.hxx Loading commit data...
CheckAudioFormat.cxx Loading commit data...
CheckAudioFormat.hxx Loading commit data...
Clamp.hxx Loading commit data...
ConfiguredResampler.cxx Loading commit data...
ConfiguredResampler.hxx Loading commit data...
Convert.cxx Loading commit data...
Convert.hxx Loading commit data...
Dither.cxx Loading commit data...
Dither.hxx Loading commit data...
Dop.cxx Loading commit data...
Dop.hxx Loading commit data...
Dsd16.cxx Loading commit data...
Dsd16.hxx Loading commit data...
Dsd2Pcm.cxx Loading commit data...
Dsd2Pcm.hxx Loading commit data...
Dsd32.cxx Loading commit data...
Dsd32.hxx Loading commit data...
Export.cxx Loading commit data...
Export.hxx Loading commit data...
FallbackResampler.cxx Loading commit data...
FallbackResampler.hxx Loading commit data...
FloatConvert.hxx Loading commit data...
FormatConverter.cxx Loading commit data...
FormatConverter.hxx Loading commit data...
GlueResampler.cxx Loading commit data...
GlueResampler.hxx Loading commit data...
Interleave.cxx Loading commit data...
Interleave.hxx Loading commit data...
LibsamplerateResampler.cxx Loading commit data...
LibsamplerateResampler.hxx Loading commit data...
Mix.cxx Loading commit data...
Mix.hxx Loading commit data...
Neon.hxx Loading commit data...
Order.cxx Loading commit data...
Order.hxx Loading commit data...
Pack.cxx Loading commit data...
Pack.hxx Loading commit data...
PcmChannels.cxx Loading commit data...
PcmChannels.hxx Loading commit data...
PcmDsd.cxx Loading commit data...
PcmDsd.hxx Loading commit data...
PcmFormat.cxx Loading commit data...
PcmFormat.hxx Loading commit data...
Prng.hxx Loading commit data...
Resampler.hxx Loading commit data...
RestBuffer.hxx Loading commit data...
SampleFormat.cxx Loading commit data...
SampleFormat.hxx Loading commit data...
ShiftConvert.hxx Loading commit data...
Silence.cxx Loading commit data...
Silence.hxx Loading commit data...
SoxrResampler.cxx Loading commit data...
SoxrResampler.hxx Loading commit data...
Traits.hxx Loading commit data...
Volume.cxx Loading commit data...
Volume.hxx Loading commit data...
meson.build Loading commit data...