Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
purr-data
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rishabh Gupta
purr-data
Commits
a00059ba
Commit
a00059ba
authored
Mar 17, 2018
by
Jonathan Wilkes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
can get to munger_perform without crash
parent
838c8625
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
externals/disis/disis_munger.c
externals/disis/disis_munger.c
+9
-1
No files found.
externals/disis/disis_munger.c
View file @
a00059ba
...
...
@@ -840,6 +840,12 @@ static void munger_setbuffer(t_disis_munger *x, t_symbol *s, int argc,
if
(
x
->
x_arraylength
)
munger_clearbuffer
(
x
);
// save buffer munger_name
x
->
x_arrayname
=
atom_getsymbolarg
(
0
,
argc
,
argv
);
/* If our name is NULL then just clear out and return... */
if
(
!
x
->
x_arrayname
)
{
munger_clearbuffer
(
x
);
return
;
}
// make new reference to system buffer object
// no Buffer type, and no new!
// x->x_l_buf = new buffer(x->x_arrayname);
...
...
@@ -864,6 +870,7 @@ static void munger_setbuffer(t_disis_munger *x, t_symbol *s, int argc,
// no Buffer type
x
->
x_l_chan
=
0
;
}
}
else
{
...
...
@@ -1664,6 +1671,7 @@ static t_int *munger_perform(t_int *w)
if
(
x
->
x_gpan_spread
>
1
.)
x
->
x_gpan_spread
=
1
.;
if
(
x
->
x_gpan_spread
<
0
.)
x
->
x_gpan_spread
=
0
.;
if
(
!
x
->
x_power
)
{
while
(
n
--
)
...
...
@@ -1786,7 +1794,7 @@ static t_int *munger_perform(t_int *w)
}
}
}
return
(
w
+
3
+
x
->
x_num_channels
);
return
(
w
+
4
+
x
->
x_num_channels
);
}
static
void
munger_dsp
(
t_disis_munger
*
x
,
t_signal
**
sp
)
...
...
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