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

[3.2] Dynamically load libpulse.so.0 and libasound.so.1 on Linux #46107

Merged
merged 1 commit into from
Feb 17, 2021

Conversation

hpvb
Copy link
Member

@hpvb hpvb commented Feb 17, 2021

By generating stubs using https://github.com/hpvb/dynload-wrapper we
can dynamically load libpulse and libasound on systems where it is available.
Both are still a build-time requirement but no longer a run-time dependency.

For maintenance purposes the wrappers should not need to be re-generated
unless we want to bump pulse or asound to an incompatible version. It is
unlikely we will want to do this any time soon.

cherry-pick from 09f82fa

@hpvb hpvb requested review from a team as code owners February 17, 2021 01:50
@akien-mga
Copy link
Member

Needs a rebase to fix CI, somehow it still tried to use AppVeyor.

By generating stubs using https://github.com/hpvb/dynload-wrapper we
can dynamically load libpulse and libasound on systems where it is available.
Both are still a build-time requirement but no longer a run-time dependency.

For maintenance purposes the wrappers should not need to be re-generated
unless we want to bump pulse or asound to an incompatible version. It is
unlikely we will want to do this any time soon.

cherry-pick from 09f82fa
@akien-mga akien-mga merged commit bad2cb6 into godotengine:3.2 Feb 17, 2021
@akien-mga
Copy link
Member

Thanks!

@hpvb hpvb deleted the dynamic-load-pulse-32 branch February 17, 2021 12:31
@akien-mga akien-mga modified the milestones: 3.2, 3.3 Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants