Skip to content

Rewrite audio using callback #6

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

Merged
merged 3 commits into from
Oct 12, 2021

Conversation

pcbeard
Copy link
Contributor

@pcbeard pcbeard commented Sep 30, 2021

This prevents audio playback blocking the dispatch queue.

Use SDL_MixAudioFormat() to mix multiple buffers of audio.

Added preloading of sound data.

This prevents audio playback blocking the dispatch queue.

Use SDL_MixAudioFormat() to mix multiple buffers of audio.

Added preloading of sound data.
@pcbeard
Copy link
Contributor Author

pcbeard commented Sep 30, 2021

Currently this requires the changes from PR #5 to build on Linux.

@ctreffs ctreffs self-requested a review October 12, 2021 13:23
@ctreffs ctreffs added the enhancement New feature or request label Oct 12, 2021
@ctreffs ctreffs merged commit 1da07fc into fireblade-engine:master Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants