mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
Fix the message processing for PA_SINK_MESSAGE_GET_LATENCY by returning rather than breaking and falling through.
This commit is contained in:
parent
514661e36c
commit
6e31178fd9
1 changed files with 1 additions and 1 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue