On 26.06.2018 15:25, Tanu Kaskinen wrote: > The first patch is a reaction to a bug report[1] that pointed out a > weird thing in the sink input drained state handling. I came to the > conclusion that we can just remove the entire drained state. > > After removing the drained state, pa_sink_input_get_state() didn't have > anything to do any more, except to just return the state variable. > pa_source_output_get_state() didn't do anything either. The second patch > removes those functions. > > Then I noticed that pa_sink_get_state() and pa_source_get_state() don't > do anything either, so the third patch removes those as well. > > [1] https://bugs.freedesktop.org/show_bug.cgi?id=106982 > All three look good.