From 8c6eed1c578b0d5ccbfa56fd24eb6bb7c0ed7733 Mon Sep 17 00:00:00 2001 From: Tom Yan Date: Tue, 8 Oct 2019 14:20:57 +0800 Subject: [PATCH] update aaudio sink --- packages/pulseaudio/module-aaudio-sink.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/pulseaudio/module-aaudio-sink.c b/packages/pulseaudio/module-aaudio-sink.c index 81340758f..a663b8107 100644 --- a/packages/pulseaudio/module-aaudio-sink.c +++ b/packages/pulseaudio/module-aaudio-sink.c @@ -263,9 +263,8 @@ static int state_func_io(pa_sink *s, pa_sink_state_t state, pa_suspend_cause_t s return 0; } -static int reconfigure_func(pa_sink *s, pa_sample_spec *ss, bool passthrough) { +static void reconfigure_func(pa_sink *s, pa_sample_spec *ss, bool passthrough) { s->sample_spec.rate = ss->rate; - return 0; } static void process_rewind(pa_sink *s) {