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

skater/shooter demos segfault when audio fails to install on Linux #1547

Open
SiegeLord opened this issue Mar 24, 2024 · 1 comment
Open

Comments

@SiegeLord
Copy link
Member

No description provided.

@ReiquelApplegate
Copy link
Contributor

What exactly is meant by audio failing to install? Like some distro where someone didn't bother to include audio libraries?

tstoeter added a commit to tstoeter/allegro5 that referenced this issue Jun 18, 2024
…subsystem installation on Linux.

The segfault happened in the function calls `al_reserve_samples` and `al_attach_sample_instance_to_mixer`,
which have now been guarded by `if (al_is_audio_installed())`. Potentially move this check into the body
of these functions?
tstoeter added a commit to tstoeter/allegro5 that referenced this issue Jun 18, 2024
… subsystem installation on Linux.

The segfault happened in the function calls `play_midi`, `al_stop_sample`, and `al_unlock_sample_id`,
which have now been guarded by `if (al_is_audio_installed())`. Potentially move this check into the body
of these functions?
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

No branches or pull requests

2 participants