Closed baadc0de closed 3 years ago
When the Soxr::new constructor is given a None option for the quality_spec argument, the process code finishes as expected.
Soxr::new
None
quality_spec
When specifying a custom QualitySpec like:
QualitySpec
Some(QualitySpec::new( &QualityRecipe::VeryHigh, QualityFlags::HI_PREC_CLOCK, ))
The process method fails with "null pointer" error. As soon as the quality_spec is changed back to None, this error goes away.
I tried with other quality recipes and flags (including 0) with the same result.
Thank you for the awesome library!
I can reproduce the SIGSEGV. I'll investigate.
should be fixed now in 0.1.5
When the
Soxr::new
constructor is given aNone
option for thequality_spec
argument, the process code finishes as expected.When specifying a custom
QualitySpec
like:The process method fails with "null pointer" error. As soon as the
quality_spec
is changed back toNone
, this error goes away.I tried with other quality recipes and flags (including 0) with the same result.
Thank you for the awesome library!