Browse Source

update aaudio sink

emacs-27
Tom Yan 5 years ago
parent
commit
8c6eed1c57
  1. 3
      packages/pulseaudio/module-aaudio-sink.c

3
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) {

Loading…
Cancel
Save