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

Using Steam Audio spatialization on a UWP device (Hololens) #376

Open
DivinorWieldor opened this issue Sep 23, 2024 · 1 comment
Open

Using Steam Audio spatialization on a UWP device (Hololens) #376

DivinorWieldor opened this issue Sep 23, 2024 · 1 comment

Comments

@DivinorWieldor
Copy link

I am in the process of creating an app targeting the Hololens 2, and need the ability to spatialize and simulate realistic sounds from a given source. I need the benefits that come from occlusion, ray tracing, material transitivity, and more. However, it looks like steam audio does not officially support UWP platforms.

Still I would like to see how much of it actually works on the device, and how much of it breaks. To get this, I want to basically force steam audio to run its spatialization algorithms.

Currently, when an audio is spatialized with steam audio, there is not sound. When using the Steam Audio Manager, there is an error stating the platform is not supported. Is there any way to bypass these restrictions?

@lakulish
Copy link
Collaborator

@DivinorWieldor While Steam Audio does not currently ship with UWP binaries as part of our release process, the full source code is available, and with slight modifications, it should be possible to get it working on UWP devices. See, for example, the following pull request: #349.

Briefly, you will have to make changes to the core Steam Audio SDK (phonon.dll), and the plugins for whatever game engine and/or audio middleware you're using. You'll have to modify the CMake scripts to add appropriate compiler flags for compiling in UWP, and potentially update various platform-dependent #define directives at various places in the code.

Since Steam Audio can also build all of its dependencies from source code, it should also be possible to make a minimal set of dependencies run on UWP.

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