summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pulse/pulse.c24
-rw-r--r--pulse/pulse.h3
2 files changed, 0 insertions, 27 deletions
diff --git a/pulse/pulse.c b/pulse/pulse.c
index 7bf0c7a..617851e 100644
--- a/pulse/pulse.c
+++ b/pulse/pulse.c
@@ -287,27 +287,3 @@ void pulse_poll_deactivate(snd_pulse_t * p)
/* Drain the pipe */
while (read(p->main_fd, buf, sizeof(buf)) > 0);
}
-
-int pulse_poll_descriptors_count(snd_pulse_t * p)
-{
- assert(p);
-
- if (p->main_fd >= 0)
- return 1;
- else
- return 0;
-}
-
-int pulse_poll_descriptors(snd_pulse_t * p, struct pollfd *pfd,
- unsigned int space)
-{
- assert(p);
-
- assert(space >= 1);
-
- pfd[0].fd = p->main_fd;
- pfd[0].events = POLLIN;
- pfd[0].revents = 0;
-
- return 1;
-}
diff --git a/pulse/pulse.h b/pulse/pulse.h
index 33723da..7bf1a5b 100644
--- a/pulse/pulse.h
+++ b/pulse/pulse.h
@@ -56,6 +56,3 @@ int pulse_connect(snd_pulse_t * p, const char *server);
void pulse_poll_activate(snd_pulse_t * p);
void pulse_poll_deactivate(snd_pulse_t * p);
-int pulse_poll_descriptors_count(snd_pulse_t * p);
-int pulse_poll_descriptors(snd_pulse_t * p, struct pollfd *pfd,
- unsigned int space);