Mercurial > hg > xmms-sid
diff src/xmms-sid.c @ 99:2bc56809ec0b
STIL-support fixes, variable renaming
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 10 Jan 2004 23:51:04 +0000 |
parents | f9063960f04e |
children | fe83646e6baa |
line wrap: on
line diff
--- a/src/xmms-sid.c Sat Jan 10 22:56:04 2004 +0000 +++ b/src/xmms-sid.c Sat Jan 10 23:51:04 2004 +0000 @@ -162,15 +162,17 @@ XSDEBUG("init#2: %s, %i\n", (isInitialized) ? "OK" : "FAILED", iPlayer); - /* Read song-length database */ + /* Initialize song-length database */ if (xs_cfg.songlenDBEnable && (xs_songlen_init() < 0)) { XSERR("Error initializing song-length database!\n"); } - /* Initialize STIL structures */ - -// FIXME FIXME FIx ME + /* Initialize STIL database */ + if (xs_cfg.stilDBEnable && (xs_stil_init() < 0)) + { + XSERR("Error initializing STIL database!\n"); + } XSDEBUG("OK\n"); } @@ -194,8 +196,7 @@ /* Free allocated memory */ xs_songlen_close(); - -// FIXME FIXME: STIL-entries + xs_stil_close(); XSDEBUG("shutdown finished.\n"); }