[mirror] Go on Mobile
https://golang.org/x/mobile
a8aa7bbd72
On mobile devices, there is typically only a single audio device. We may open it once and reuse it to stream audio buffers from multiple sources. This assumption also applies to the context since OpenAL contextes are process-wide. A shared global pointer is reusable across multiple OpenAL sources. This CL also removes the Device and Context types and the unexpected garbage collection issue introduced by Context's finalizer. Fixes golang/go#10636 Change-Id: I82e6e6e6a1500ba91d66a7848cf37d1a5e01af9b Reviewed-on: https://go-review.googlesource.com/9782 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> |
||
---|---|---|
app | ||
audio | ||
bind | ||
build | ||
cmd | ||
event | ||
example | ||
f32 | ||
font | ||
geom | ||
gl | ||
sensor | ||
sprite | ||
testdata | ||
.gitattributes | ||
.gitignore | ||
AUTHORS | ||
CONTRIBUTING.md | ||
CONTRIBUTORS | ||
Dockerfile | ||
LICENSE | ||
PATENTS | ||
README.md | ||
codereview.cfg |
README.md
Go support for Mobile devices
The Go mobile repository holds packages and build tools for using Go on Android.
This is early work and installing the build system requires Go 1.5. Follow the build instructions on godoc.org/golang.org/x/mobile/cmd/gomobile to install the gomobile command and build the basic example.
--
APIs are currently very limited, but under active development. Package documentation serves as a starting point:
Contributions to Go are appreciated. See https://golang.org/doc/contribute.html.