Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Srashti Mittal
purr-data
Commits
0317d79a
Commit
0317d79a
authored
May 22, 2020
by
Jonathan Wilkes
Browse files
fix some global vars erroneously declared in headers and other places
parent
f71dd19f
Changes
4
Hide whitespace changes
Inline
Side-by-side
pd/src/s_audio_mmio.c
View file @
0317d79a
...
...
@@ -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
;
...
...
pd/src/s_audio_oss.c
View file @
0317d79a
...
...
@@ -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" */
...
...
pd/src/s_path.c
View file @
0317d79a
...
...
@@ -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
)
...
...
pd/src/s_stuff.h
View file @
0317d79a
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment