Skip to content
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

x/mobile/exp/audio/al: Missing Effects Extension (EFX) #45426

Open
Zyl9393 opened this issue Apr 7, 2021 · 0 comments
Open

x/mobile/exp/audio/al: Missing Effects Extension (EFX) #45426

Zyl9393 opened this issue Apr 7, 2021 · 0 comments
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

Comments

@Zyl9393
Copy link

Zyl9393 commented Apr 7, 2021

What version of Go are you using (go version)?

$ go version
go version go1.16.3 windows/amd64

Does this issue reproduce with the latest release?

Yes.

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
set GO111MODULE=on
set GOARCH=amd64  
set GOBIN=
set GOCACHE=C:\Users\Zyl\AppData\Local\go-build
set GOENV=C:\Users\Zyl\AppData\Roaming\go\env  
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=D:\Projects\Code\Go\pkg\mod     
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=D:\Projects\Code\Go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\Program Files\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=C:\Program Files\Go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.16.3
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=D:\Projects\Code\Go\src\zyl\testgl\go.mod
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\Zyl\AppData\Local\Temp\go-build3421167547=/tmp/go-build -gno-record-gcc-switches

What did you do?

import "golang.org/x/mobile/exp/audio/al"

What did you expect to see?

strings.Contains(al.Extensions(), "ALC_EXT_EFX") is true.

What did you see instead?

strings.Contains(al.Extensions(), "ALC_EXT_EFX") is false.

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.

@Zyl9393 Zyl9393 changed the title golang.org/x/mobile/exp/audio/al: Missing Effects Extension (EFX) x/mobile/exp/audio/al: Missing Effects Extension (EFX) Apr 7, 2021
@gopherbot gopherbot added the mobile Android, iOS, and x/mobile label Apr 7, 2021
@gopherbot gopherbot added this to the Unreleased milestone Apr 7, 2021
@dmitshur dmitshur added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. FeatureRequest labels Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

3 participants