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
CachingReader: Invalid sample position from engine #8812
Comments
Commented by: uklotzde |
Commented by: uklotzde This has now happened multiple times when setting a cue point. Only one deck is affected, it doesn't matter if another deck is playing or not. The engine code for calculating the sample offser when setting cue points is definitely broken! |
Commented by: daschuer This is probably caused be the late latest changes, allowing fractional sample cue points. |
Commented by: uklotzde I disagree. The caching reader can only read from frame boundaries. Sub-frame calculations must be done in the engine. |
Commented by: uklotzde By switching to frame positions this would work as expected. It's just a missing adjustment of sample positions to even numbers during sub-frame calculations. |
Commented by: daschuer Yes, the caching reader can only read full frames, and the engine can request fractional frames. |
Commented by: uklotzde The sub-frame calculations (and interpolation) must be done once, but not twice. If resampling between the sampling rate provided by decoding and the internal rate of the engine is needed, that could be the right place. |
Issue closed with status Fix Released. |
Reported by: uklotzde
Date: 2017-02-19T19:06:31Z
Status: Fix Released
Importance: Critical
Launchpad Issue: lp1666050
Attachments: invalid_sample_read_request.txt
Branch: master / 2.1
Please see the attached stack trace.
The text was updated successfully, but these errors were encountered: