module WebrtcAudio::SignalProcessing

Defined in:

signal_processing/signal_processing.cr

Class Method Summary

Class Method Detail

def self.div_w32_w16(num : Int32, den : Int16) : Int32 #

division_operations.c


[View source]
def self.down_by_2_int_to_short(input : Slice(Int32), len : Int32, output : Slice(Int16), state : Array(Int32)) : Void #

resample_by_internal_2.c


[View source]
def self.down_by_2_short_to_int(input : Slice(Int16), len : Int32, output : Slice(Int32), state : Array(Int32)) : Void #

[View source]
def self.energy(vector : Slice(Int16), length : Int32) : Array(Int32) #

energy.c


[View source]
def self.get_scaling_square(in_vector : Slice(Int16), length : Int32, times : Int32) : Int16 #

get_scaling_square.c


[View source]
def self.kCoefficients48To32 : Array(Array(Int32)) #

resample_fractional.c


[View source]
def self.kResampleAllpass : Array(Array(Int16)) #

resample_by_2_internal


[View source]
def self.lpb_y2_int_to_int(input : Slice(Int32), len : Int32, output : Slice(Int32), state : Array(Int32)) : Void #

[View source]
def self.resample_48khz_to_32khz(input : Slice(Int32), output : Slice(Int32), k : Int32) : Void #

[View source]
def self.resample_48khz_to_8khz(input : Slice(Int16), output : Slice(Int16), state : State48khzTo8khz, temp_mem : Slice(Int32)) : Void #

48 -> resample


[View source]
def self.reset_resample_48khz_to_8khz(state : State48khzTo8khz) #

resample_48khz.c


[View source]