mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-04 19:17:37 +08:00
14 lines
309 B
Go
14 lines
309 B
Go
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
|
|
}
|