From bd830b1b55a749a01e24ed85a3c075765c160d12 Mon Sep 17 00:00:00 2001 From: Jonas Kramer Date: Fri, 26 Mar 2010 12:05:33 +0100 Subject: [PATCH] Change volume socket commands to be more consistent with other commands. --- source/sckif.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/sckif.c b/source/sckif.c index 5177c63..186ef7a 100644 --- a/source/sckif.c +++ b/source/sckif.c @@ -200,8 +200,8 @@ void execcmd(const char * cmd, char * reply) { "album-tags", "track-tags", "stop", - "vol_up", - "vol_down" + "volume-up", + "volume-down" }; memset(arg, 0, sizeof(arg)); @@ -336,6 +336,6 @@ static int waitread(int fd, unsigned sec, unsigned usec) { tv.tv_sec = sec; tv.tv_usec = usec; - + return (select(fd + 1, & readfd, NULL, NULL, & tv) > 0); } -- 2.11.4.GIT