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

Feature/fix stereo headphone disambiguation #356

Conversation

Schroedingers-Cat
Copy link
Contributor

This PR adds a global HRTF option to Steam Audio that allows to disable HRTF rendering for all Steam Audio instances. This solves the problem of FMOD and Unity not differentiating between stereo on speakers (don't use HRTFs) vs stereo on headphones (prefer HRTFs). Game programmers can use the global HRTF option for instance in their game's option menu or automatically set this depending on the presence of a digital headphone or speaker set.

The default value of this new setting is backwards compatible meaning projects using an older Steam Audio version upgrading to a version with these changes will behave as before.

This was originally part of PR #329 but has been moved into a dedicated PR.

@Schroedingers-Cat Schroedingers-Cat force-pushed the feature/fix-stereo-headphone-disambiguation branch from fe5782d to 09326bd Compare May 22, 2024 06:26
@Schroedingers-Cat
Copy link
Contributor Author

@lakulish your feedback is welcome!

Also, should we merge this, do we also want to change the documentation accordingly?

@Schroedingers-Cat
Copy link
Contributor Author

@lakulish any feedback in this MR?

Copy link
Collaborator

@lakulish lakulish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments are mostly around variable/function naming. I also have a question as to whether we need to surface anything at all in the Steam Audio Settings.

@lakulish lakulish merged commit 550f146 into ValveSoftware:master Aug 12, 2024
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

Successfully merging this pull request may close these issues.

2 participants