diff --git a/pd/src/s_audio_mmio.c b/pd/src/s_audio_mmio.c index 0ada2c23cc363d3cc98ce05866e01ef7a00873ba..3c941dabd51da3db30e223ec2a6de303fad6984a 100644 --- a/pd/src/s_audio_mmio.c +++ b/pd/src/s_audio_mmio.c @@ -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; diff --git a/pd/src/s_audio_oss.c b/pd/src/s_audio_oss.c index c2153ab353b5cb3d77cd435f84a5dd1f833bbeed..61718f47bae549db100f059b4054b8caeaef403c 100644 --- a/pd/src/s_audio_oss.c +++ b/pd/src/s_audio_oss.c @@ -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" */ diff --git a/pd/src/s_path.c b/pd/src/s_path.c index 3582626f785fac06d5c35ffb05eb4de104930d93..9b2aebb8d9f95d5ddeee6bdf190f51759c25d73a 100644 --- a/pd/src/s_path.c +++ b/pd/src/s_path.c @@ -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) diff --git a/pd/src/s_stuff.h b/pd/src/s_stuff.h index 0967e026420d70072c747f3cb9063b0b5c396208..04b62b45025c686d5a1dee3cd36036ab439efd91 100644 --- a/pd/src/s_stuff.h +++ b/pd/src/s_stuff.h @@ -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);