ncmixer

ncurses audio mixer for DJ'ing
git clone git://git.2f30.org/ncmixer
Log | Files | Refs | README | LICENSE

commit d21fb38136cbf13dc4f105c25344a9cffd7b5b1c
parent d0d873a3faf9379ceb65551c40c94afed4032def
Author: sin <sin@2f30.org>
Date:   Fri,  3 Jun 2016 16:52:45 +0100

Rename input_read() to consume()

Diffstat:
Mncmixer.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ncmixer.c b/ncmixer.c @@ -208,7 +208,7 @@ key_cb(int fd) } int -input_read(struct input *in) +consume(struct input *in) { int n; @@ -360,7 +360,7 @@ loop(void) if (in->clifd == -1) continue; if (pfd[in->clifd].revents & (POLLIN | POLLHUP)) { - if (input_read(in) == -1) { + if (consume(in) == -1) { pfd[in->clifd].fd = -1; pfd[in->clifd].events = 0; close(in->clifd);