Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FrameMapper + Resampling loses samples #568

Merged
merged 1 commit into from Sep 14, 2020
Merged

Conversation

jonoomph
Copy link
Member

Apparently, we need enough padding during resampling, so we exceed the # of samples required for the first frame, and 20 was just too low for many frame rates / sample rates. This seems kind of random / arbitrary, but it's an easy fix for a more complex issue, where resampling always leaves behind some samples for the next call, and we can really mess up our sample division logic.

…sample. Apparently, we need enough padding, so we exceed the # of samples required for the first frame, and 20 was just too low for many frame rates / sample rates.
@codecov
Copy link

codecov bot commented Sep 14, 2020

Codecov Report

Merging #568 into develop will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #568      +/-   ##
===========================================
+ Coverage    49.37%   49.39%   +0.01%     
===========================================
  Files          129      129              
  Lines        10198    10198              
===========================================
+ Hits          5035     5037       +2     
+ Misses        5163     5161       -2     
Impacted Files Coverage Δ
src/FrameMapper.cpp 83.33% <100.00%> (+0.51%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3f3bcc1...6537278. Read the comment docs.

@jonoomph jonoomph merged commit 66121bf into develop Sep 14, 2020
@jonoomph jonoomph deleted the fix-resampling-in-mapper branch September 14, 2020 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant