1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-05 03:23:49 +08:00
go-cqhttp/global/codec/codec_unsupportedos.go
2021-01-17 16:39:01 +08:00

16 lines
321 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")
}