diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-08-06 19:42:15 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-08-06 19:42:15 +0000 |
commit | 74b3b6d4538e46655d09a08041a5626b0a71d3a6 (patch) | |
tree | 7ec6dcd49fdb9b06342393b3d22f0d65eec20aed /src | |
parent | 455ff8d342a914f29971dfc7b2c48f9cf09c0f1b (diff) |
fix playback status querying
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1583 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src')
-rw-r--r-- | src/pulsecore/protocol-native.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/protocol-native.c b/src/pulsecore/protocol-native.c index 4d7dd634..d75815fa 100644 --- a/src/pulsecore/protocol-native.c +++ b/src/pulsecore/protocol-native.c @@ -1481,7 +1481,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, 0); - pa_tagstruct_put_boolean(reply, s->sink_input->state == PA_SINK_INPUT_RUNNING); + pa_tagstruct_put_boolean(reply, pa_sink_input_get_state(s->sink_input) == PA_SINK_INPUT_RUNNING); pa_tagstruct_put_timeval(reply, &tv); pa_tagstruct_put_timeval(reply, pa_gettimeofday(&now)); pa_tagstruct_puts64(reply, pa_memblockq_get_write_index(s->memblockq)); |