codec

package
v1.0.0-beta7-fix1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2021 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package codec Slik编码核心模块

Index

Constants

This section is empty.

Variables

View Source
var Debug bool

Debug mode controls the ffmpeg output.

Functions

func EncodeToSilk

func EncodeToSilk(record []byte, tempName string, useCache bool) (silkWav []byte, err error)

EncodeToSilk 将音频编码为Silk

func RecodeTo24K

func RecodeTo24K(data []byte) []byte

RecodeTo24K 将silk重新编码为 24000 bit rate

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL