/*
- * Copyright (C) 2009-2014 Andre Noll <maan@tuebingen.mpg.de>
+ * Copyright (C) 2009 Andre Noll <maan@tuebingen.mpg.de>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
#include <regex.h>
#include <sys/ioctl.h>
-#include <fcntl.h>
#include <sys/soundcard.h>
#include "para.h"
* Set sampling rate
*
* If we request a higher sampling rate than is supported by the
- * device, the the highest possible speed is automatically used. The
+ * device, the highest possible speed is automatically used. The
* value actually used is returned as the new value of the argument.
*/
rate = sample_rate;
ret = -E_BAD_SAMPLERATE;
if (100 * max > 110 * min) /* more than 10% deviation */
goto err;
- PARA_NOTICE_LOG("using %dHz rather than %dHz\n", rate,
+ PARA_NOTICE_LOG("using %uHz rather than %uHz\n", rate,
sample_rate);
}
wn->min_iqs = powd->bytes_per_frame;