-
Notifications
You must be signed in to change notification settings - Fork 34
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
"OpenAL HRTF mixing: Unsupported format" - Fixed in OpenAL Soft #115
Comments
Yeah, I remember it worked at some point without having to update so I'm not sure what changed/broke, at least on my end. 😅 |
@ThreeDeeJay , could you please check if newer sView build with OpenAL soft 1.23.0 makes any difference on your system? |
Hmm, this is odd. now instead of no HRTF there's just no audio at all, though only with the file that uses an ambisonics tracks, not sure if that's the specific cause, though. This file with a stereo track does output audio: https://i.imgur.com/sHpcBbJ.mp4 |
I've fixed this regression ( |
Neat, now both ambisonics and HRTF are active so I'll go ahead and close this issue.👍 |
Another thing I noticed: the ambisonics sound field seems to be rotated 90 degrees to the left relative to the video. |
Ok, I'll try to check - maybe new FFmpeg reorders channels in the file...
Anyway, sView currently handles only 4-channel ambisonics mapping to OpenAL. |
Agrrr... difficult to find some reasonable samples. Could you share the file with the drums? On the file below, it sounds like the order of Ambisonic channels is correctly passed (though sample for some reason has broken channel order of 5.1 AAC stream): |
Here ya go and here's the youtube link, just in case. That said, the video you linked does seem to be aligned properly: https://i.imgur.com/Su15CZn.mp4 |
@gkv311 btw in case you didn't get the notification from #125 (this issue and solution also exist on Android), kcat/openal-soft#824 (comment) |
Thanks for investigation. Hope to have some time to look into it.. |
Cool beans. |
Current release (22.01_16 and test build 22.05_25) uses OpenAL Soft 1.18.2 (from 2017) and it fails to render audio in HRTF and instead reports "Unsupported format" so it just uses regular stereo panning:
However, if you replace OpenAL32.dll with the latest OpenAL Soft DLL, HRTF works and ambisonics is even spatialized following orientation (or headtracking in VR)
*Click to play video
Even surround sound gets virtualized properly for headphones when HRTF is on.
So perhaps the next release could include the updated DLL if everything else works fine too 👀
The text was updated successfully, but these errors were encountered: