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
Wynn
purr-data
Commits
2090825f
Commit
2090825f
authored
Aug 21, 2008
by
Miller Puckette
Browse files
Mac startup bug fix; 32ch limit back into s_audio_pa.c
parent
977e997f
Changes
3
Hide whitespace changes
Inline
Side-by-side
linux/make-release
View file @
2090825f
...
...
@@ -32,6 +32,8 @@ make distclean
rm
-rf
autom4te.cache
rm
-f
*
.pd
cd
/tmp
tar
cf
-
pd-
$1
|
gzip
>
$ROOTDIR
/archive/dist/pd-
$1
.src.tar.gz
tar
c
z
f pd-
$1
.src.tar.gz
pd-
$1
rm
-rf
$TMPPD
mv
-i
pd-
$1
.src.tar.gz
$ROOTDIR
/archive/dist/
&&
\
ls
-l
$ROOTDIR
/archive/dist/pd-
$1
.src.tar.gz
src/s_audio_pa.c
View file @
2090825f
...
...
@@ -14,6 +14,8 @@
#include <portaudio.h>
#include "s_audio_pablio.h"
#define MAX_PA_CHANS 32
#define MAX_SAMPLES_PER_FRAME (MAX_PA_CHANS * DEFDACBLKSIZE)
/* LATER try to figure out how to handle default devices in portaudio;
the way s_audio.c handles them isn't going to work here. */
...
...
src/t_tkcmd.c
View file @
2090825f
...
...
@@ -333,7 +333,7 @@ gotit: ;
#ifdef STARTGUI
/*
#define DEBUGCONNECT
*/
#define DEBUGCONNECT
#ifdef DEBUGCONNECT
static
FILE
*
debugfd
;
...
...
@@ -618,11 +618,19 @@ void pdgui_setname(char *s)
int
Pdtcl_Init
(
Tcl_Interp
*
interp
)
{
const
char
*
argv
=
Tcl_GetVar
(
interp
,
"argv"
,
0
);
int
portno
,
argno
=
0
;
if
(
argv
&&
(
portno
=
atoi
(
argv
))
>
1
)
int
portno
=
0
,
i
;
if
(
argv
)
{
for
(
i
=
0
;
i
<
strlen
(
argv
)
-
1
;
i
++
)
if
(
argv
[
i
]
>=
'0'
&&
argv
[
i
]
<=
'9'
)
{
portno
=
atoi
(
argv
+
i
);
break
;
}
}
if
(
portno
)
pdgui_setsock
(
portno
);
#ifdef DEBUGCONNECT
pd_portno
=
portno
;
debugfd
=
fopen
(
"/tmp/bratwurst"
,
"w"
);
fprintf
(
debugfd
,
"turning stderr back on
\n
"
);
fflush
(
debugfd
);
...
...
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