module WebrtcAudio
Overview
TODO Write documentation for WebrtcAudio
Defined in:
models/vad_instance.crsignal_processing/signal_processing.cr
vad/core.cr
vad/filterbank.cr
vad/gmm.cr
vad/sp.cr
webrtc_audio.cr
webrtc_vad.cr
Constant Summary
-
VERSION =
"1.0.1"
-
WEBRTC_SPL_WORD16_MAX =
Int16::MAX
-
WEBRTC_SPL_WORD16_MIN =
Int16::MIN
-
WEBRTC_SPL_WORD32_MAX =
Int32::MAX
-
WEBRTC_SPL_WORD32_MIN =
Int32::MIN
Class Method Summary
-
.count_leading_zeros32(n : UInt32) : Int32
Returns the number of leading zero bits in the argument
- .count_leading_zeros32(n : Int32) : Int32
- .get_size_in_bits(n : UInt32) : Int16
- .get_size_in_bits(n : Int32) : Int16
- .kMinEnergy : Int32
- .kNumChannels : Int32
- .kNumGaussians : Int32
- .kTableSize : Int32
-
.norm_w32(a : Int32) : Int16
Return the number of steps a can be left-shifted without overflow
-
.norm_w32(a : UInt32) : Int16
Return the number of steps a can be left-shifted without overflow
- .spl_mul(a : Int, b : Int) : Int32
Class Method Detail
def self.count_leading_zeros32(n : UInt32) : Int32
#
Returns the number of leading zero bits in the argument
def self.norm_w32(a : Int32) : Int16
#
Return the number of steps a can be left-shifted without overflow
def self.norm_w32(a : UInt32) : Int16
#
Return the number of steps a can be left-shifted without overflow