From 44d9f62f34e0561d83ea32941f0ea1b529b1490d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 16 Aug 2008 09:28:15 -0700 Subject: core rewrite (decode,player,outputBuffer,playlist) This is a huge refactoring of the core mpd process. The queueing/buffering mechanism is heavily reworked. The player.c code has been merged into outputBuffer (the actual ring buffering logic is handled by ringbuf.c); and decode.c actually handles decoding stuff. The end result is several hundreds of lines shorter, even though we still have a lot of DEBUG statements left in there for tracing and a lot of assertions, too. --- src/volume.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/volume.c') diff --git a/src/volume.c b/src/volume.c index 5b720651a..0da7d0360 100644 --- a/src/volume.c +++ b/src/volume.c @@ -20,7 +20,6 @@ #include "command.h" #include "conf.h" #include "log.h" -#include "player.h" #include "gcc.h" #include "utils.h" #include "ack.h" @@ -492,7 +491,7 @@ static int changeSoftwareVolume(int fd, int change, int rel) new = 1000.0 * (exp(new / 25.0) - 1) / (54.5981500331F - 1) + 0.5; - setPlayerSoftwareVolume(new); + ob_set_sw_volume(new); return 0; } -- cgit v1.2.3