sad

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

commit 9629bb7fcfb64d9d523bd135f5b850c967c0be31
parent 35a8df987d7c66437cbfd47c74d69a83460a629f
Author: sin <sin@2f30.org>
Date:   Thu, 25 Dec 2014 17:42:41 +0000

Add some TODO

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

diff --git a/playlist.c b/playlist.c @@ -19,6 +19,7 @@ addplaylist(const char *path) { Song *s; + /* TODO: should expand the array dynamically */ s = &playlist.songs[playlist.nsongs]; strncpy(s->path, path, sizeof(s->path)); s->path[sizeof(s->path) - 1] = '\0'; diff --git a/sad.h b/sad.h @@ -20,7 +20,7 @@ typedef struct { } Song; typedef struct { - Song songs[128]; + Song songs[4096]; Song *cursong; size_t nsongs; } Playlist;