-
Notifications
You must be signed in to change notification settings - Fork 166
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
Comments
@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 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. |
I would like to note my findings here for anyone in the future looking to run steam-audio on the Hololens. There is a simple way to force load steam-audio onto the Hololens (UWP), and that is by simply going to Build.cs (Assets\Plugins\SteamAudio\Scripts\Editor) and adding A simple workaround to this problem, however, is to run the desired app with holographic remoting. This is similar to developing on VR, where you can run the app on your PC but stream the image to your headset. Holographic remoting supports having the program run under a Windows architecture (you can choose standalone as the build target), while the headset reports all inputs, movements, and interactions to the PC. |
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?
The text was updated successfully, but these errors were encountered: