Searched refs:bestdir (Results 1 – 3 of 3) sorted by relevance
/third_party/alsa-lib/src/pcm/ |
D | interval.c | 439 int boundary_nearer(int min, int mindir, int best, int bestdir, int max, int maxdir) in boundary_nearer() argument 443 boundary_sub(best, bestdir, min, mindir, &dmin, &dmindir); in boundary_nearer() 444 boundary_sub(max, maxdir, best, bestdir, &dmax, &dmaxdir); in boundary_nearer()
|
D | interval.h | 80 int boundary_nearer(int min, int mindir, int best, int bestdir, int max, int maxdir);
|
D | pcm_params.c | 891 unsigned int best, int bestdir, 904 boundary_sub(val, valdir, best, bestdir, &diff, &diffdir); 907 mindir = bestdir - diffdir; 909 maxdir = bestdir - 1; 912 mindir = bestdir + 1; 914 maxdir = bestdir + diffdir + 1; 930 if (boundary_nearer(max, maxdir, best, bestdir, min, mindir)) {
|