summaryrefslogtreecommitdiff
path: root/alsamixer/alsamixer.c
diff options
context:
space:
mode:
Diffstat (limited to 'alsamixer/alsamixer.c')
-rw-r--r--alsamixer/alsamixer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/alsamixer/alsamixer.c b/alsamixer/alsamixer.c
index 7d840af..5b62943 100644
--- a/alsamixer/alsamixer.c
+++ b/alsamixer/alsamixer.c
@@ -1448,7 +1448,7 @@ mixer_iteration (void)
callbacks.remove = mixer_callback_scontrol;
/* setup for select on stdin and the mixer fd */
- mixer_fd = snd_mixer_file_descriptor (mixer_handle);
+ mixer_fd = snd_mixer_poll_descriptor (mixer_handle);
FD_ZERO (&rfds);
FD_SET (fileno (stdin), &rfds);
FD_SET (mixer_fd, &rfds);