summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2011-08-29 22:14:04 +0530
committerArun Raghavan <arun.raghavan@collabora.co.uk>2011-08-29 22:14:04 +0530
commit3fd07a33eed3f0bb87b8c477294c1e65efabbd80 (patch)
tree81b2c3470ce946b2f9fcae5424224168fd0d7ddf
parent394d8a6b6bb07394009f40fa5ad2834c2ff0e12d (diff)
equalizer: Comment out unused function
Gets rid of a compiler warning
-rw-r--r--src/modules/module-equalizer-sink.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/module-equalizer-sink.c b/src/modules/module-equalizer-sink.c
index 0120d81e..285ca0e7 100644
--- a/src/modules/module-equalizer-sink.c
+++ b/src/modules/module-equalizer-sink.c
@@ -700,6 +700,7 @@ static void sink_input_mute_changed_cb(pa_sink_input *i) {
pa_sink_mute_changed(u->sink, i->muted);
}
+#if 0
static void reset_filter(struct userdata *u){
size_t fs = pa_frame_size(&u->sink->sample_spec);
size_t max_request;
@@ -715,6 +716,7 @@ static void reset_filter(struct userdata *u){
max_request = PA_MAX(max_request, u->window_size);
pa_sink_set_max_request_within_thread(u->sink, max_request * fs);
}
+#endif
/* Called from I/O thread context */
static void sink_input_process_rewind_cb(pa_sink_input *i, size_t nbytes) {