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

Add bool for applying HRTF to direct signal in Unity #163

Conversation

Schroedingers-Cat
Copy link
Contributor

There used to be an option called "directBinaural" during the 2.0 version cycle, which got removed from Steam Audio v4.0 without any explanation. Without this option, Steam Audio would always apply HRTFs to the direct signal. This means you cannot use it in projects where the end-user could be listening without headphones (for instance, laptop speakers, surround setups, custom installation setups).

This commit adds support for disabling HRTFs on the direct signal in the Steam Audio Unity spatializer plugin. It can be controlled with a bool on the SteamAudioSource component and the option defaults to true, which makes it backwards compatible to v4.0.0

The changes were tested on Windows x64 and macOS ARM (via Rosetta).

There used to be an option called "directBinaural" during the 2.0 version cycle, which got removed from Steam Audio v4.0 without any explanation. Without this option, Steam Audio would always apply HRTFs to the direct signal. This means you cannot use it in projects where the end-user could be listening without headphones (for instance, laptop speakers, surround setups, custom installation setups).

This commit adds support for disabling HRTFs on the direct signal in the Steam Audio Unity spatializer plugin.
Copy link

This pull request has been automatically marked stale, and will automatically be closed in 30 days if no activity occurs.

@Schroedingers-Cat
Copy link
Contributor Author

This feature got reintroduced before this PR got reviewed, so closing.

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.

None yet

1 participant