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 audio mem error bug #95

Merged
merged 1 commit into from
Jul 8, 2022
Merged

Fix audio mem error bug #95

merged 1 commit into from
Jul 8, 2022

Conversation

alloncm
Copy link
Owner

@alloncm alloncm commented Jun 25, 2022

used a pointer to an stack alllocated struct
for the sdl audio user data, the memory got currupted and the
program would freeze on exit (x86) or crash randomaly (arm)
now using heap allocated memory using box

Closes #85

used a pointer to an stack alllocated struct
for the sdl audio user data, the memory got currupted and the
program would freeze on exit (x86) or crash randomaly (arm)
now using heap allocated memory using box
@alloncm alloncm added the bug Something isn't working label Jun 25, 2022
@alloncm alloncm changed the title Fix the mem error bug Fix audio mem error bug Jun 25, 2022
@alloncm
Copy link
Owner Author

alloncm commented Jun 26, 2022

Needs to verify this on the rpi before merge

@alloncm alloncm merged commit 7afbd4f into dev Jul 8, 2022
@alloncm alloncm deleted the fix/pull_audio_mem branch July 8, 2022 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pull audio segfaults on linux
1 participant