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
Jonathan Wilkes
flext
Commits
f56577b1
Commit
f56577b1
authored
Feb 18, 2002
by
thomas
Browse files
no message
git-svn-id:
https://svn.grrrr.org/ext/trunk@54
4d9ac71a-51e6-0310-8455-cad1006bcd31
parent
23b05e55
Changes
2
Hide whitespace changes
Inline
Side-by-side
readme.txt
View file @
f56577b1
...
...
@@ -64,6 +64,7 @@ Version history:
- loadbang also in PD
- introduced "compatibility mode" which denies platform-specific features
- fixed severe dsp bug (symptom: "float method overwritten" warning in pd)
- fixed bug: wrong return code from buffer::Set
0.1.0:
- max-pd 0.2 became flext 0.1.0
...
...
@@ -94,7 +95,7 @@ general:
- should we use a namespace?
bugs:
none
reported
none
known
features:
- static class methods for definition of object methods
...
...
source/flbuf.cpp
View file @
f56577b1
...
...
@@ -70,8 +70,8 @@ I flext_base::buffer::Set(t_symbol *s,BL nameonly)
}
else
{
garray_usedindsp
(
a
);
if
(
frames
!=
frames1
)
{
frames
=
frames1
;
ret
=
1
;
}
if
(
data
!=
data1
)
{
data
=
data1
;
ret
=
1
;
}
if
(
frames
!=
frames1
)
{
frames
=
frames1
;
if
(
!
ret
)
ret
=
1
;
}
if
(
data
!=
data1
)
{
data
=
data1
;
if
(
!
ret
)
ret
=
1
;
}
chns
=
1
;
}
#elif defined(MAXMSP)
...
...
@@ -86,9 +86,9 @@ I flext_base::buffer::Set(t_symbol *s,BL nameonly)
#ifdef DEBUG
post
(
"%s: buffer object '%s' - valid:%i samples:%i channels:%i frames:%i"
,
thisName
(),
bufname
->
s_name
,
p
->
b_valid
,
p
->
b_frames
,
p
->
b_nchans
,
p
->
b_frames
);
#endif
if
(
data
!=
p
->
b_samples
)
{
data
=
p
->
b_samples
;
ret
=
1
;
}
if
(
chns
!=
p
->
b_nchans
)
{
chns
=
p
->
b_nchans
;
ret
=
1
;
}
if
(
frames
!=
p
->
b_frames
)
{
frames
=
p
->
b_frames
;
ret
=
1
;
}
if
(
data
!=
p
->
b_samples
)
{
data
=
p
->
b_samples
;
if
(
!
ret
)
ret
=
1
;
}
if
(
chns
!=
p
->
b_nchans
)
{
chns
=
p
->
b_nchans
;
if
(
!
ret
)
ret
=
1
;
}
if
(
frames
!=
p
->
b_frames
)
{
frames
=
p
->
b_frames
;
if
(
!
ret
)
ret
=
1
;
}
}
}
else
{
...
...
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