Add server-side spatial audio with HRTF, occlusion and adaptive quality
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// Copyright 2026 Sverse contributors. Licensed under the Apache License, Version 2.0.
|
||||
package spatialaudio
|
||||
|
||||
import "golang.org/x/sys/windows"
|
||||
|
||||
func openHRTFLibrary(path string) (uintptr, error) {
|
||||
lib, err := windows.LoadLibraryEx(path, 0, windows.LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR|windows.LOAD_LIBRARY_SEARCH_DEFAULT_DIRS)
|
||||
return uintptr(lib), err
|
||||
}
|
||||
Reference in New Issue
Block a user