feeder_rate.c
Source references XOR syntaxSysctl handler function signature
SHA-256c0a7f0901000d59b7bbc47968f4bda8de59c3d1cde44d8d69bb9512d5e78a570
MaleculeO(Er)H(Db₂)
Evidence
⋯4 lines
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must repr …
53:2… ifdef _KERNEL
54#ifdef HAVE_KERNEL_OPTION_HEADERS
55#include "opt_snd.h"
56#endif
57#include <dev/sound/pcm/sound.h>
58#include <dev/sound/pcm/pcm.h>
59#include "feeder_if.h"
60
61#define SND_USE_FXDIV
62#include "snd_fxdiv_gen.h"
63#endif
64
65#include "feeder_rate_gen.h"
66
67#if !defined(_KERNEL) && defined(SND_DIAGNOSTIC)
68#undef Z_DIAGNOSTIC
69#define Z_DIAGNOSTIC 1 …
159:16… er_rate_polyphase_max = Z_POLYPHASE_MAX;
160
161#ifdef _KERNEL
162static char feeder_rate_presets[] = FEEDER_RATE_PRESETS;
163SYSCTL_STRING(_hw_snd, OID_AUTO, feeder_rate_presets, CTLFLAG_RD,
164 &feeder_rate_presets, 0, "compile …
166:54… polyphase entries");
167
168static int
169sysctl_hw_snd_feeder_rate_min(SYSCTL_HANDLER_ARGS)
170{
171 int err, val;
⋯5 lines
778:18… polynomial interpolators based on filter oversampled ratio
779 * (2 ^ Z_DRIFT_SHIFT).
780 */
781#if !(defined(Z_COEFF_INTERP_ZOH) || defined(Z_COEFF_INTERP_LINEAR) || \
782 defined(Z_COEFF_INTERP_QUADRAT …