Documentation ¶
Index ¶
Constants ¶
View Source
const ( NOT_FILLED = (iota - 1) // Not filled LINEAR_INTERPOLATION // Linear interpolation POLYNOMIAL_INTERPOLATION // Polynomial interpolation BAND_LIMITED_INTERPOLATION // Band limited interpolation FRACTIONAL_DELAY_FILTER )
Resampler struct to hold resampler information only
Variables ¶
View Source
var RESAMPLER_METHODS = map[int]string{ NOT_FILLED: "NOT_FILLED", LINEAR_INTERPOLATION: "LINEAR_INTERPOLATION", POLYNOMIAL_INTERPOLATION: "POLYNOMIAL_INTERPOLATION", }
RESAMPLER_METHODS is a map of resampler methods
Functions ¶
func ResampleBytes ¶ added in v0.1.5
func ValidateInput ¶ added in v0.1.5
func ValidateOutput ¶ added in v0.1.5
func ValidateTranscoder ¶ added in v0.1.5
Types ¶
type Resampler ¶ added in v0.1.5
type Resampler struct { MethodR int // MethodR is the method of resampling if needed. Default is 0 (no resampling) MethodRAdvancedConfigs interface{} // MethodAdvancedConfigs is the method of advanced configs if needed SizeBuffer int // SizeBuffer is the size of the buffer used in the resampling process.Default is 1024 InConfigs sopro.AudioConfig // the source configuration OutConfigs sopro.AudioConfig // the target configuration Verbose bool // if true, the resampling process will be verbose }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.