x/mobile/exp/audio/al: Missing Effects Extension (EFX) #45426
Labels
FeatureRequest
mobile
Android, iOS, and x/mobile
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
import "golang.org/x/mobile/exp/audio/al"
What did you expect to see?
strings.Contains(al.Extensions(), "ALC_EXT_EFX")
istrue
.What did you see instead?
strings.Contains(al.Extensions(), "ALC_EXT_EFX")
isfalse
.Additional information
The OpenAL C-level bindings ( https://pkg.go.dev/github.com/dextercai/go-openal/openal ) recommend to use Go-level bindings instead.
The Go-level bindings ( https://pkg.go.dev/golang.org/x/mobile@v0.0.0-20210220033013-bdb1ca9a1e08/exp/audio/al ) wrap OpenAL-Soft.
OpenAL-Soft ( https://github.com/kcat/openal-soft ) supports EFX.
Bindings for EFX-calls (
alGenEffects()
,alDeleteEffects()
etc.) are missing, as well as means to retrieve them (i.e.alGetProcAddress()
). As far as I understand, by using OpenAL-Soft, this (and other) extensions are guaranteed to be available, and should only be missing their implementation.The text was updated successfully, but these errors were encountered: