mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-04 19:17:37 +08:00
17 lines
385 B
Go
17 lines
385 B
Go
//go:build !windows && !linux && !darwin
|
|
// +build !windows,!linux,!darwin
|
|
|
|
package codec
|
|
|
|
import "errors"
|
|
|
|
// EncodeToSilk 将音频编码为Silk
|
|
func EncodeToSilk(record []byte, tempName string, useCache bool) ([]byte, error) {
|
|
return nil, errors.New("not supported now")
|
|
}
|
|
|
|
// RecodeTo24K 将silk重新编码为 24000 bit rate
|
|
func RecodeTo24K(data []byte) []byte {
|
|
return data
|
|
}
|