diff src/xs_stil.c @ 103:fe83646e6baa

Changed plrFillBuffer()-functions to return actual number of samples computed. Rudimentary changes for return of fileinfo window. Minor tweaks for STILdb.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 11 Jan 2004 17:42:00 +0000
parents 4614f58ab169
children 578b71b62eeb
line wrap: on
line diff
--- a/src/xs_stil.c	Sun Jan 11 16:48:05 2004 +0000
+++ b/src/xs_stil.c	Sun Jan 11 17:42:00 2004 +0000
@@ -1,10 +1,9 @@
 /*  
-   xmms-sid - SIDPlay input plugin for X MultiMedia System (XMMS)
+   XMMS-SID - SIDPlay input plugin for X MultiMedia System (XMMS)
 
-   STIL-database parsing functions
+   STIL-database handling functions
    
-   Mostly written by Matti "ccr" Hamalainen <ccr@tnsp.org>,
-   some parts written by Willem Monsuwe <willem@stack.nl>
+   Written by Matti "ccr" Hamalainen <ccr@tnsp.org>
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -20,7 +19,6 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */
-
 #include "xs_stil.h"
 #include "xs_support.h"
 #include "xs_config.h"
@@ -29,6 +27,7 @@
 #include <ctype.h>
 #include <string.h>
 
+
 /*
  * Pointer to database in memory
  */
@@ -187,8 +186,26 @@
  {
  fgets(inLine, sizeof(inLine), inFile);
  lineNum++;
+
+#if 0
+ switch (inLine[0]) {
+ case '/':
+ 	/* A new entry */
+ 	
+ 	isEntry = TRUE;
+	break;
+
+ case '(':
+ 	subEntry = 
+ 	break;
  
+ default:
+ 	/* End of entry */
+ 	isEntry = FALSE;
+ 	break;
  
+ }
+#endif
  
  } /* while */