Commit 0317d79a authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

fix some global vars erroneously declared in headers and other places

parent f71dd19f
......@@ -32,7 +32,8 @@ int nt_realdacblksize;
#define MAXBUFFER 100 /* number of buffers in use at maximum advance */
#define DEFBUFFER 30 /* default is about 30x6 = 180 msec! */
static int nt_naudiobuffer = DEFBUFFER;
t_float sys_dacsr = DEFAULTSRATE;
sys_dacsr = DEFAULTSRATE;
static int nt_whichapi = API_MMIO;
static int nt_meters; /* true if we're metering */
......@@ -486,11 +487,6 @@ void nt_logerror(int which)
#endif
}
/* system buffer with t_sample types for one tick */
t_sample *sys_soundout;
t_sample *sys_soundin;
t_float sys_dacsr;
int mmio_send_dacs(void)
{
HMMIO hmmio;
......
......@@ -67,11 +67,6 @@ static t_oss_dev linux_adcs[OSS_MAXDEV];
static int linux_noutdevs = 0;
static int linux_nindevs = 0;
/* exported variables */
t_float sys_dacsr;
t_sample *sys_soundout;
t_sample *sys_soundin;
/* OSS-specific private variables */
static int oss_blockmode = 1; /* flag to use "blockmode" */
......
......@@ -45,6 +45,7 @@ t_namelist *sys_searchpath;
t_namelist *sys_staticpath;
t_namelist *sys_helppath;
t_namelist *pd_extrapath;
/* change '/' characters to the system's native file separator */
void sys_bashfilename(const char *from, char *to)
......
......@@ -18,7 +18,7 @@ typedef struct _namelist /* element in a linked list of stored strings */
char *nl_string; /* the string */
} t_namelist;
t_namelist *pd_extrapath;
extern t_namelist *pd_extrapath;
t_namelist *namelist_append(t_namelist *listwas, const char *s, int allowdup);
t_namelist *namelist_append_files(t_namelist *listwas, const char *s);
void namelist_free(t_namelist *listwas);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment