class WebrtcAudio::WebRtcVad

Defined in:

webrtc_vad.cr

Constant Summary

ValidFrameTimes = [10, 20, 30]
ValidRates = [8, 16, 32, 48]

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def process(input : Slice(Int16), length : Int32) : Bool #

[View source]
def reset #

[View source]
def reset_state #

[View source]
def set_mode(nm : Aggressiveness) : Bool #

[View source]
def set_mode(nm : Int32) : Bool #

[View source]
def set_sample_rate(rate : Int32) : Bool #

[View source]
def valid_length(length : Int32) : Bool #

[View source]