Replace bit shift with multiplication

This commit is contained in:
Daniel Wolf 2019-10-02 20:57:35 +02:00
parent 00c19a26f2
commit 295a80578d
1 changed files with 1 additions and 1 deletions

View File

@ -734,7 +734,7 @@ fun FindMinimum(self: VadInstT, feature_value: Int, channel: Int): Int {
var current_median = 1600 var current_median = 1600
var alpha = 0 var alpha = 0
var tmp32 = 0 var tmp32 = 0
val offset = channel shl 4 val offset = channel * 16
// Accessor for the age of each value of the [channel] // Accessor for the age of each value of the [channel]
val age = object { val age = object {