Add reselectdist command

This commit is contained in:
Miroslav Lichvar
2011-04-07 18:16:39 +02:00
parent 21ba1d3761
commit 8d3d45ea1a
7 changed files with 69 additions and 2 deletions

View File

@@ -901,6 +901,17 @@ SRC_ReselectSource(void)
/* ================================================== */
void
SRC_SetReselectDistance(double distance)
{
if (reselect_distance != distance) {
reselect_distance = distance;
LOG(LOGS_INFO, LOGF_Sources, "New reselect distance %f", distance);
}
}
/* ================================================== */
double
SRC_PredictOffset(SRC_Instance inst, struct timeval *when)
{