mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00:00
This CL adds `SonicTest` and `RandomParameterizedSonicTest` as initial basic unit testing for `Sonic.java`. The tested scenarios do not necessarily verify a correct implementation of Sonic, but rather hope to catch any behaviour change from the current implementation. The change includes a small fix for a lossy simplification and also checks whether the output sample count matches the expected drift from the truncation accumulation error present in Sonic's resampler. This is important as pre-work for fixing issues with unexpected durations within `SonicAudioProcessor` and `SpeedChangingAudioProcessor` that cause AV sync issues for speed changing effects. This is a partial roll forward of |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle | ||
| lint-baseline.xml | ||
| proguard-rules.txt | ||
| README.md | ||