'Fall through.' must appear separately Signed-off-by: Peter Meerwald-Stadler <pmeerw at pmeerw.net> --- src/pulsecore/protocol-esound.c | 5 ++--- src/pulsecore/protocol-simple.c | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/pulsecore/protocol-esound.c b/src/pulsecore/protocol-esound.c index 4f83ac4..a0aca97 100644 --- a/src/pulsecore/protocol-esound.c +++ b/src/pulsecore/protocol-esound.c @@ -1354,11 +1354,10 @@ static int sink_input_process_msg(pa_msgobject *o, int code, void *userdata, int case PA_SINK_INPUT_MESSAGE_GET_LATENCY: { pa_usec_t *r = userdata; + /* The default handler will add in the extra latency added by the resampler. */ *r = pa_bytes_to_usec(pa_memblockq_get_length(c->input_memblockq), &c->sink_input->sample_spec); - - /* Fall through, the default handler will add in the extra - * latency added by the resampler */ } + /* Fall through. */ default: return pa_sink_input_process_msg(o, code, userdata, offset, chunk); diff --git a/src/pulsecore/protocol-simple.c b/src/pulsecore/protocol-simple.c index 923ec87..5e2d6c8 100644 --- a/src/pulsecore/protocol-simple.c +++ b/src/pulsecore/protocol-simple.c @@ -336,11 +336,10 @@ static int sink_input_process_msg(pa_msgobject *o, int code, void *userdata, int case PA_SINK_INPUT_MESSAGE_GET_LATENCY: { pa_usec_t *r = userdata; + /* The default handler will add in the extra latency added by the resampler.*/ *r = pa_bytes_to_usec(pa_memblockq_get_length(c->input_memblockq), &c->sink_input->sample_spec); - - /* Fall through, the default handler will add in the extra - * latency added by the resampler */ } + /* Fall through. */ default: return pa_sink_input_process_msg(o, code, userdata, offset, chunk); -- 2.7.4