File: splay.h

package info (click to toggle)
splay 0.9.5.2-14
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 848 kB
  • ctags: 1,479
  • sloc: cpp: 7,680; sh: 330; makefile: 35
file content (42 lines) | stat: -rw-r--r-- 950 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/* Sound Player Version

   Copyright (C) 1997 by Jung woo-jae */

// Header files

#define MAXLISTSIZE        1000     // Too many?
#define MAXFILENAMELENGTH   300     // Too long?

extern int  splay_verbose;
extern int splay_startframe;
extern char *splay_progname;
extern const char *splay_devicename;

extern char *splay_list[MAXLISTSIZE];
extern int  splay_listsize;
extern int  splay_downfrequency;
extern bool splay_shuffleflag,
            splay_repeatflag,
            splay_forcetomonoflag,
            splay_frameinfo;

extern const char *splay_Sounderrors[];

#ifdef PTHREADEDMPEG
extern int  splay_threadnum;
#endif

/*****************/
/* Sound quality */
/*****************/
int  Setvolume(int volume);

/***************/
/* Manage list */
/***************/
void arglist(int argc,char *argv[],int start);
void killlist(void);
void addlist(const char *path,const char *filename);
void readlist(char *filename);
void shufflelist(void);