summaryrefslogtreecommitdiffstats
path: root/pulse/pulse.h
diff options
context:
space:
mode:
authorLennart Poettering <mznyfn@0pointer.de>2009-08-04 23:54:42 +0200
committerTakashi Iwai <tiwai@suse.de>2009-08-04 23:58:22 +0200
commitc3acf0f4df121fef0014bd165fa86ccb1060d669 (patch)
treec410109f173a1346c36e8f2eb957b427940c9cfc /pulse/pulse.h
parentf74878bc610bccc4656f8194f29176cf9c956de9 (diff)
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>
Diffstat (limited to 'pulse/pulse.h')
-rw-r--r--pulse/pulse.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/pulse/pulse.h b/pulse/pulse.h
index 51f9a11..e98124f 100644
--- a/pulse/pulse.h
+++ b/pulse/pulse.h
@@ -31,12 +31,6 @@ typedef struct snd_pulse {
pa_context *context;
int thread_fd, main_fd;
-
- enum {
- PULSE_STATE_INIT,
- PULSE_STATE_READY,
- } state;
-
} snd_pulse_t;
int pulse_check_connection(snd_pulse_t * p);