Searched refs:GetClosestValue (Results 1 – 1 of 1) sorted by relevance
277 sampleFrequency = GetClosestValue(masterFrequency / sampleRatio, possibleSamplingRates); in SetSampleFrequency()281 private uint GetClosestValue(uint freq, uint[] possibleVals) in GetClosestValue() method in Antmicro.Renode.Peripherals.Sound.NRF52840_I2S