mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-05 19:43:49 +08:00
(cherry picked from commit 1ecb1f62dc1d26720298186720b7970b52ee1d5e) (cherry picked from commit 0487f849bcb887001cb728a21a0ac64c804b7bc3)
14 lines
308 B
Go
14 lines
308 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
|
|
}
|