fold the seperate variable pa_sink_input::playing into pa_sink_input::state as state...
commit0cccb83445bf559d31d0b6ec0bc496306e595ce0
authorLennart Poettering <lennart@poettering.net>
Fri, 28 Jul 2006 23:27:16 +0000 (28 23:27 +0000)
committerLennart Poettering <lennart@poettering.net>
Fri, 28 Jul 2006 23:27:16 +0000 (28 23:27 +0000)
tree8b60e4b420d823561a5fded15730f82791f705ec
parent0c66a124359352b5e42bc1a8d1f262690daeb4a1
fold the seperate variable pa_sink_input::playing into pa_sink_input::state as state PA_SINK_INPUT_DRAINED. The following mappings hold:

old PA_SINK_RUNNING + playing set = new PA_SINK_RUNNING
old PA_SINK_RUNNING + playing not set = new PA_SINK_DRAINED

git-svn-id: svn://svn.0pointer.net/pulseaudio/trunk@1162 fefdeb5f-60dc-0310-8127-8f9354f1896f
src/pulsecore/sink-input.c
src/pulsecore/sink-input.h