Mercurial > hg > xmms-sid
diff src/xs_length.c @ 24:271be59be975
Lots of changes
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 07 Jun 2003 12:42:05 +0000 |
parents | ac2972a7ccd5 |
children | 85a7753e2a9a |
line wrap: on
line diff
--- a/src/xs_length.c Sat Jun 07 12:42:05 2003 +0000 +++ b/src/xs_length.c Sat Jun 07 12:42:05 2003 +0000 @@ -115,10 +115,7 @@ while ((!iFound) && ((iEndNode - iStartNode) > 128)) { - fprintf(stderr, "["); - fprinth(stderr, xs_dbindex[iQNode]->md5Hash); r = xs_db_cmphash(pHash, xs_dbindex[iQNode]->md5Hash); - fprintf(stderr, "] = %i\n", r); if (r < 0) { /* Hash was in the <- LEFT side */ @@ -207,7 +204,7 @@ gint xs_db_read(gchar *dbFilename, t_xs_dbentry **dataBase) { FILE *inFile; - gchar inLine[XMMS_SID_BUFSIZE]; + gchar inLine[XS_BUFSIZE]; gint lineNum, linePos, iOK; t_xs_dbentry *tmpNode; @@ -558,7 +555,7 @@ /* * Get song length */ -gint32 xs_get_songlength(gchar *fileName, gint subTune) +gint32 xs_songlen_get(gchar *fileName, gint subTune) { t_xs_dbentry *dbEntry; t_xs_md5hash dbHash; @@ -572,8 +569,6 @@ /* Get the hash and then look up from db */ if (xs_get_sid_hash(fileName, dbHash) == 0) { - fprinth(stderr, dbHash); - fprintf(stderr, "\n"); dbEntry = xs_db_get(dbHash); if (dbEntry)