sad

simple audio daemon
git clone git://git.2f30.org/sad
Log | Files | Refs | LICENSE

commit 0dd585df09b559a079fdb64d62e6c3cad1bb2d59
parent 27ca3577ee8f7d295af940e7b66b99ef4996d079
Author: sin <sin@2f30.org>
Date:   Fri, 26 Dec 2014 17:42:08 +0000

Use unsigned char + fix missing include

Diffstat:
Mdecoder.c | 1+
Msad.c | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/decoder.c b/decoder.c @@ -3,6 +3,7 @@ #include <err.h> #include <limits.h> #include <stdio.h> +#include <string.h> #include <strings.h> #include <sndfile.h> diff --git a/sad.c b/sad.c @@ -65,7 +65,7 @@ static void playaudio(void) { Song *s; - short buf[2048]; + unsigned char buf[4096]; int nbytes; s = getcursong();