diff options
author | Colin Guthrie <pulse@colin.guthr.ie> | 2009-01-27 22:59:36 +0000 |
---|---|---|
committer | Colin Guthrie <pulse@colin.guthr.ie> | 2009-01-27 23:02:41 +0000 |
commit | 6e31178fd9cff2377eb1c6943d4c4d7b808b37d6 (patch) | |
tree | c00836b1deab5ccc109c8e1c86f0826e4f3a431d /src/modules | |
parent | 514661e36c03176b08f28d75eed018708cb8094d (diff) |
Fix the message processing for PA_SINK_MESSAGE_GET_LATENCY by returning rather than breaking and falling through.
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/module-raop-sink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-raop-sink.c b/src/modules/module-raop-sink.c index 02ef2aae..74ee6122 100644 --- a/src/modules/module-raop-sink.c +++ b/src/modules/module-raop-sink.c @@ -208,7 +208,7 @@ static int sink_process_msg(pa_msgobject *o, int code, void *data, int64_t offse w = pa_bytes_to_usec((u->offset - u->encoding_overhead + (u->encoded_memchunk.length / u->encoding_ratio)), &u->sink->sample_spec); *((pa_usec_t*) data) = w > r ? w - r : 0; - break; + return 0; } case SINK_MESSAGE_PASS_SOCKET: { |