mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
for the playing field of pa_timing_info use pa_sink_input::state == PA_SINK_INPUT_RUNNING. This means that this variable will now refer to the current state and not to the expected future state, which is probably more what clients expect.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1163 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
f1c46113ae
commit
d1db037577
1 changed files with 1 additions and 1 deletions
|
|
@ -1101,7 +1101,7 @@ static void command_get_playback_latency(PA_GCC_UNUSED pa_pdispatch *pd, PA_GCC_
|
||||||
pa_tagstruct_put_usec(reply, latency);
|
pa_tagstruct_put_usec(reply, latency);
|
||||||
|
|
||||||
pa_tagstruct_put_usec(reply, 0);
|
pa_tagstruct_put_usec(reply, 0);
|
||||||
pa_tagstruct_put_boolean(reply, pa_memblockq_is_readable(s->memblockq));
|
pa_tagstruct_put_boolean(reply, s->sink_input->state == PA_SINK_INPUT_RUNNING);
|
||||||
pa_tagstruct_put_timeval(reply, &tv);
|
pa_tagstruct_put_timeval(reply, &tv);
|
||||||
pa_tagstruct_put_timeval(reply, pa_gettimeofday(&now));
|
pa_tagstruct_put_timeval(reply, pa_gettimeofday(&now));
|
||||||
pa_tagstruct_puts64(reply, pa_memblockq_get_write_index(s->memblockq));
|
pa_tagstruct_puts64(reply, pa_memblockq_get_write_index(s->memblockq));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue