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

Rapid track changes saturate GDI message pump #34

Open
zao opened this issue Apr 12, 2015 · 0 comments
Open

Rapid track changes saturate GDI message pump #34

zao opened this issue Apr 12, 2015 · 0 comments

Comments

@zao
Copy link
Owner

zao commented Apr 12, 2015

For very short tracks played in succession (example is 339 frames), the GDI frontend spends more time generating the image than the track takes to play, blocking the message pump with update_data work, hanging the player.

For repeated plays of the same track, likely solution is to maintain a small cache of images.
For sequenced plays of different tracks, thread off generation or trigger via idle messages, achieving rate limiting and pre-emption.

Or of course, "don't do that".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant