10 lines
352 B
Go
10 lines
352 B
Go
// 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
|
|
}
|