mirror of https://github.com/jetkvm/kvm.git
Provides no-op AudioSource implementations for platforms that don't support ARM CGO audio (x86_64, darwin, etc.). This allows golangci-lint to run successfully on any platform without requiring ARM cross-compilation toolchain. The stub implementations return errors when called, ensuring that if they're accidentally used at runtime on non-ARM platforms, it will fail gracefully with a clear error message rather than undefined symbols. Build constraints ensure the real CGO implementation is used on linux/arm and linux/arm64, while stubs are used everywhere else. |
||
|---|---|---|
| .. | ||
| c | ||
| cgo_source.go | ||
| cgo_source_stub.go | ||
| relay.go | ||
| source.go | ||