1 /* Sound Player Version 2 3 Copyright (C) 1997 by Jung woo-jae */ 4 5 // Header files 6 7 #include <config.h> 8 9 #define MAXLISTSIZE 1000 // Too many? 10 #define MAXFILENAMELENGTH 300 // Too long? 11 12 #undef PACKAGE 13 //splay is not maintained anymore, I'll rename the packagename to make clear 14 //this is not the stand-alone (old) splay 15 #define PACKAGE "splay-mp3blaster" 16 extern int splay_verbose; 17 extern char *splay_progname; 18 extern const char *splay_devicename; 19 20 extern char *splay_list[MAXLISTSIZE]; 21 extern int splay_listsize; 22 extern int splay_downfrequency; 23 extern bool splay_shuffleflag, 24 splay_repeatflag, 25 splay_forcetomonoflag; 26 27 extern const char *splay_Sounderrors[]; 28 29 #ifdef PTHREADEDMPEG 30 extern int splay_threadnum; 31 #endif 32 33 /***************/ 34 /* Manage list */ 35 /***************/ 36 void arglist(int argc,char *argv[],int start); 37 void killlist(void); 38 void addlist(const char *path,const char *filename); 39 void readlist(char *filename); 40 void shufflelist(void); 41