]> git.alsa-project.org Git - alsa-plugins.git/commit
pulse: get rid of redundant state variable
authorLennart Poettering <mznyfn@0pointer.de>
Tue, 4 Aug 2009 21:54:42 +0000 (23:54 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 4 Aug 2009 21:58:22 +0000 (23:58 +0200)
commitc3acf0f4df121fef0014bd165fa86ccb1060d669
treec410109f173a1346c36e8f2eb957b427940c9cfc
parentf74878bc610bccc4656f8194f29176cf9c956de9
pulse: get rid of redundant state variable

snd_pulse_t::state was mostly shadowing the state of
pa_context_get_state(snd_pulse_t::context), so get rid of it and use the
state of the context directly.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
pulse/pulse.c
pulse/pulse.h