pcm/SoxrResampler: require libsoxr 0.1.2 or later
This commit is contained in:
parent
1410bcbce9
commit
27ba8c181f
2
NEWS
2
NEWS
|
@ -21,6 +21,8 @@ ver 0.24 (not yet released)
|
|||
- opus: implement bitrate calculation
|
||||
- sidplay: require libsidplayfp (drop support for the original sidplay)
|
||||
- wavpack: require libwavpack version 5
|
||||
* resampler
|
||||
- soxr: require libsoxr 0.1.2 or later
|
||||
* player
|
||||
- add option "mixramp_analyzer" to scan MixRamp tags on-the-fly
|
||||
- "one-shot" consume mode
|
||||
|
|
|
@ -239,9 +239,7 @@ SoxrPcmResampler::Close() noexcept
|
|||
void
|
||||
SoxrPcmResampler::Reset() noexcept
|
||||
{
|
||||
#if SOXR_THIS_VERSION >= SOXR_VERSION(0,1,2)
|
||||
soxr_clear(soxr);
|
||||
#endif
|
||||
}
|
||||
|
||||
std::span<const std::byte>
|
||||
|
|
|
@ -59,7 +59,7 @@ if libsamplerate_dep.found()
|
|||
pcm_sources += 'LibsamplerateResampler.cxx'
|
||||
endif
|
||||
|
||||
soxr_dep = dependency('soxr', required: get_option('soxr'))
|
||||
soxr_dep = dependency('soxr', version: '>= 0.1.2', required: get_option('soxr'))
|
||||
if soxr_dep.found()
|
||||
conf.set('ENABLE_SOXR', true)
|
||||
pcm_sources += 'SoxrResampler.cxx'
|
||||
|
|
Loading…
Reference in New Issue