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
nerrons
purr-data
Commits
dc46ceaa
Commit
dc46ceaa
authored
Sep 29, 2017
by
Jonathan Wilkes
Browse files
a few more workarounds for an unknown instruction in valgrind
parent
60e0e72b
Changes
2
Show whitespace changes
Inline
Side-by-side
externals/pdogg/oggamp~.c
View file @
dc46ceaa
...
...
@@ -1004,7 +1004,7 @@ static void oggamp_tick(t_oggamp *x)
static
void
*
oggamp_new
(
t_floatarg
fdographics
,
t_floatarg
fnchannels
,
t_floatarg
fbufsize
)
{
t_oggamp
*
x
;
int
nchannels
=
fnchannels
,
bufsize
=
fbufsize
*
1024
,
i
;
int
nchannels
=
fnchannels
,
bufsize
=
((
double
)
fbufsize
)
*
1024
,
i
;
float
*
buf
;
if
(
nchannels
<
1
)
...
...
externals/pdogg/oggcast~.c
View file @
dc46ceaa
...
...
@@ -998,7 +998,11 @@ static void oggcast_tick_pages(t_oggcast *x)
static
void
*
oggcast_new
(
t_floatarg
fnchannels
,
t_floatarg
fbufsize
)
{
t_oggcast
*
x
;
int
nchannels
=
fnchannels
,
bufsize
=
fbufsize
*
1024
,
i
;
/* The cast to double below is a workaround for an unrecognized instruction
when running the arm CI runner under valgrind. Fortunately there are
only a handful of these in the entire codebase. Once this gets fixed
upstream in Valgrind these casts can be removed. */
int
nchannels
=
fnchannels
,
bufsize
=
((
double
)
fbufsize
)
*
1024
,
i
;
float
*
buf
;
if
(
nchannels
<
1
)
...
...
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