mirror of
https://github.com/fumiama/ahsai.git
synced 2026-06-27 06:40:26 +08:00
drop cgo
This commit is contained in:
11
play_stub.go
Normal file
11
play_stub.go
Normal file
@@ -0,0 +1,11 @@
|
||||
//go:build !android && !darwin && !js && !windows
|
||||
// +build !android,!darwin,!js,!windows
|
||||
|
||||
package ahsai
|
||||
|
||||
import "errors"
|
||||
|
||||
// PlayOgg cut leading demo text and play directly
|
||||
func PlayOgg(u string) error {
|
||||
return errors.New("cannot play directly on this platform")
|
||||
}
|
||||
Reference in New Issue
Block a user