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

Fix bug in jump_to action by adjusting for sample frames #426

Merged
merged 3 commits into from
Nov 18, 2021

Conversation

seanirby
Copy link
Member

  • Copy/pasted the utility function, _fix_sample_from_pos, from track_standard.pyx and included it in track_sound_loop.pyx.

  • Updated logic in def jump_to_time_current_sound_loop_set(..) and other places in
    this file where sample frame adjustment is calculated to use this new
    utility function.

  • Add a commented out line that linux users can use for the log file in audio_interface.pyx

  • Added assertions in test to verify jump_to action.

@jabdoa2
Copy link
Collaborator

jabdoa2 commented Jul 2, 2021

LGTM!

seanirby and others added 3 commits November 18, 2021 00:11
Copy/pasted the utility function, _fix_sample_from_pos, from
track_standard.pyx and included it in track_sound_loop.pyx.  Updated logic
in def jump_to_time_current_sound_loop_set(..) and other places in
this file where sample frame adjustment is calculated to use this new
utility function.
@jabdoa2 jabdoa2 merged commit 909fae7 into missionpinball:dev Nov 18, 2021
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.

3 participants