Replace bit shift with multiplication
This commit is contained in:
parent
00c19a26f2
commit
295a80578d
|
@ -734,7 +734,7 @@ fun FindMinimum(self: VadInstT, feature_value: Int, channel: Int): Int {
|
|||
var current_median = 1600
|
||||
var alpha = 0
|
||||
var tmp32 = 0
|
||||
val offset = channel shl 4
|
||||
val offset = channel * 16
|
||||
|
||||
// Accessor for the age of each value of the [channel]
|
||||
val age = object {
|
||||
|
|
Loading…
Reference in New Issue