Searched refs:nmin (Results 1 – 1 of 1) sorted by relevance
438 static long snd_mixer_oss_conv(long val, long omin, long omax, long nmin, long nmax) in snd_mixer_oss_conv() argument440 long orange = omax - omin, nrange = nmax - nmin; in snd_mixer_oss_conv()444 return ((nrange * (val - omin)) + (orange / 2)) / orange + nmin; in snd_mixer_oss_conv()