Thanks to Toshiya Takeda for bringing up an unrelated issue which led
to this.
Signed-off-by: malc <av1474@comtv.ru>
int freq;
int nb_channels;
int bufsize;
- int threshold;
int broken_adc;
} conf = {
.nb_samples = 2048 * 2,
return 0;
}
- if (!hw->pending_disable
- && nb_live
- && (conf.threshold && live <= conf.threshold)) {
+ if (!hw->pending_disable && nb_live) {
ldebug ("live=%d nb_live=%d\n", live, nb_live);
return 0;
}
.tag = AUD_OPT_INT,
.valp = &conf.bufsize,
.descr = "(undocumented)"
- }
-#if 0
- {
- .name = "THRESHOLD",
- .tag = AUD_OPT_INT,
- .valp = &conf.threshold,
- .descr = "(undocumented)"
- }
-#endif
+ },
{ /* End of list */ }
};