projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21f0655
)
interfaces/cpp/aubiocpp.cpp: use getters
author
Paul Brossier
<piem@piem.org>
Thu, 22 Oct 2009 01:26:36 +0000
(
03:26
+0200)
committer
Paul Brossier
<piem@piem.org>
Thu, 22 Oct 2009 01:26:36 +0000
(
03:26
+0200)
interfaces/cpp/aubiocpp.cpp
patch
|
blob
|
history
diff --git
a/interfaces/cpp/aubiocpp.cpp
b/interfaces/cpp/aubiocpp.cpp
index 8f70611a3694f67486ee30453c256c78e838a0cd..8f66491183ef029d57873ad0a9dd3e5990a9d470 100644
(file)
--- a/
interfaces/cpp/aubiocpp.cpp
+++ b/
interfaces/cpp/aubiocpp.cpp
@@
-12,13
+12,13
@@
namespace aubio {
}
smpl_t* fvec::operator[]( uint_t channel ) {
- return
self->data[channel]
;
+ return
fvec_get_channel(self, channel)
;
}
cvec::cvec(uint_t length, uint_t channels) {
self = new_cvec(length, channels);
- norm =
self->norm
;
- phas =
self->phas
;
+ norm =
cvec_get_norm(self)
;
+ phas =
cvec_get_phas(self)
;
}
cvec::~cvec() {