feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 42f1cf14 was
7abfc82,
checked in by Paul Brossier <piem@piem.org>, 17 years ago
|
cpp/aubiocpp.cpp: fix indentation
|
-
Property mode set to
100644
|
File size:
461 bytes
|
Rev | Line | |
---|
[c60d684] | 1 | #include "aubio.h" |
---|
| 2 | #include "aubiocpp.h" |
---|
| 3 | |
---|
| 4 | namespace aubio { |
---|
| 5 | |
---|
| 6 | fvec::fvec(uint_t length, uint_t channels) { |
---|
[7abfc82] | 7 | self = new_fvec(length, channels); |
---|
[c60d684] | 8 | } |
---|
| 9 | |
---|
| 10 | fvec::~fvec() { |
---|
| 11 | del_fvec(self); |
---|
| 12 | } |
---|
| 13 | |
---|
| 14 | smpl_t* fvec::operator[]( uint_t channel ) { |
---|
| 15 | return self->data[channel]; |
---|
| 16 | } |
---|
| 17 | |
---|
| 18 | cvec::cvec(uint_t length, uint_t channels) { |
---|
| 19 | self = new_cvec(length, channels); |
---|
| 20 | norm = self->norm; |
---|
| 21 | phas = self->phas; |
---|
| 22 | } |
---|
| 23 | |
---|
| 24 | cvec::~cvec() { |
---|
| 25 | del_cvec(self); |
---|
| 26 | } |
---|
| 27 | |
---|
| 28 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.