projects
/
ofxAubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71034df
)
src/ofxAubioPitch.cpp: implement destructor
author
Paul Brossier
<piem@piem.org>
Sat, 24 Oct 2015 22:51:45 +0000
(
00:51
+0200)
committer
Paul Brossier
<piem@piem.org>
Sat, 24 Oct 2015 22:51:45 +0000
(
00:51
+0200)
src/ofxAubioPitch.cpp
patch
|
blob
|
history
diff --git
a/src/ofxAubioPitch.cpp
b/src/ofxAubioPitch.cpp
index
1511456
..
456d7e1
100644
(file)
--- a/
src/ofxAubioPitch.cpp
+++ b/
src/ofxAubioPitch.cpp
@@
-51,7
+51,10
@@
void ofxAubioPitch::setup(string method, int buf_s, int hop_s, int samplerate)
ofxAubioPitch::~ofxAubioPitch()
{
- //if (pitch) del_aubio_pitch(Pitch);
+ ofLogNotice() << "deleted ofxAubioPitch";
+ if (pitch) del_aubio_pitch(pitch);
+ if (aubio_input) del_fvec(aubio_input);
+ if (aubio_output) del_fvec(aubio_output);
}
void ofxAubioPitch::audioIn(float * input, int bufferSize, int nChannels)