1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-04 19:17:37 +08:00
go-cqhttp/global/codec/codec_unsupportedos.go
Ink-33 7b71cd9219
Shorten url
update comment
2021-02-05 02:22:44 +08:00

16 lines
323 B
Go

// +build !windows,!linux,!darwin
package codec
import "errors"
// Init 下载silk编码器
func Init() error {
return errors.New("not support now")
}
// EncodeToSilk 将音频编码为Silk
func EncodeToSilk(record []byte, tempName string, useCache bool) ([]byte, error) {
return nil, errors.New("not support now")
}