11 lines
305 B
Go
11 lines
305 B
Go
//go:build linux || darwin || freebsd
|
|
|
|
// Copyright 2026 Sverse contributors. Licensed under the Apache License, Version 2.0.
|
|
package spatialaudio
|
|
|
|
import "github.com/ebitengine/purego"
|
|
|
|
func openOpusLibrary(path string) (uintptr, error) {
|
|
return purego.Dlopen(path, purego.RTLD_NOW|purego.RTLD_LOCAL)
|
|
}
|