[DEV] update to the new ETK allocator wrapper
This commit is contained in:
parent
09889ba745
commit
746a6413f2
@ -19,7 +19,7 @@ void audio::drain::ChannelReorder::init() {
|
||||
}
|
||||
|
||||
ememory::SharedPtr<audio::drain::ChannelReorder> audio::drain::ChannelReorder::create() {
|
||||
ememory::SharedPtr<audio::drain::ChannelReorder> tmp(new audio::drain::ChannelReorder());
|
||||
ememory::SharedPtr<audio::drain::ChannelReorder> tmp(ETK_NEW(audio::drain::ChannelReorder));
|
||||
tmp->init();
|
||||
return tmp;
|
||||
}
|
||||
|
@ -26,13 +26,13 @@ void audio::drain::EndPointCallback::init(recordFunction _callback) {
|
||||
}
|
||||
|
||||
ememory::SharedPtr<audio::drain::EndPointCallback> audio::drain::EndPointCallback::create(playbackFunction _callback) {
|
||||
ememory::SharedPtr<audio::drain::EndPointCallback> tmp(new audio::drain::EndPointCallback());
|
||||
ememory::SharedPtr<audio::drain::EndPointCallback> tmp(ETK_NEW(audio::drain::EndPointCallback));
|
||||
tmp->init(_callback);
|
||||
return tmp;
|
||||
}
|
||||
|
||||
ememory::SharedPtr<audio::drain::EndPointCallback> audio::drain::EndPointCallback::create(recordFunction _callback) {
|
||||
ememory::SharedPtr<audio::drain::EndPointCallback> tmp(new audio::drain::EndPointCallback());
|
||||
ememory::SharedPtr<audio::drain::EndPointCallback> tmp(ETK_NEW(audio::drain::EndPointCallback));
|
||||
tmp->init(_callback);
|
||||
return tmp;
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ void audio::drain::EndPointRead::init() {
|
||||
}
|
||||
|
||||
ememory::SharedPtr<audio::drain::EndPointRead> audio::drain::EndPointRead::create() {
|
||||
ememory::SharedPtr<audio::drain::EndPointRead> tmp(new audio::drain::EndPointRead());
|
||||
ememory::SharedPtr<audio::drain::EndPointRead> tmp(ETK_NEW(audio::drain::EndPointRead));
|
||||
tmp->init();
|
||||
return tmp;
|
||||
}
|
||||
|
@ -27,7 +27,7 @@ void audio::drain::EndPointWrite::init() {
|
||||
}
|
||||
|
||||
ememory::SharedPtr<audio::drain::EndPointWrite> audio::drain::EndPointWrite::create() {
|
||||
ememory::SharedPtr<audio::drain::EndPointWrite> tmp(new audio::drain::EndPointWrite());
|
||||
ememory::SharedPtr<audio::drain::EndPointWrite> tmp(ETK_NEW(audio::drain::EndPointWrite));
|
||||
tmp->init();
|
||||
return tmp;
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ void audio::drain::Equalizer::init() {
|
||||
}
|
||||
|
||||
ememory::SharedPtr<audio::drain::Equalizer> audio::drain::Equalizer::create() {
|
||||
ememory::SharedPtr<audio::drain::Equalizer> tmp(new audio::drain::Equalizer());
|
||||
ememory::SharedPtr<audio::drain::Equalizer> tmp(ETK_NEW(audio::drain::Equalizer));
|
||||
tmp->init();
|
||||
return tmp;
|
||||
}
|
||||
|
@ -133,7 +133,7 @@ void audio::drain::FormatUpdate::init() {
|
||||
}
|
||||
|
||||
ememory::SharedPtr<audio::drain::FormatUpdate> audio::drain::FormatUpdate::create() {
|
||||
ememory::SharedPtr<audio::drain::FormatUpdate> tmp(new audio::drain::FormatUpdate());
|
||||
ememory::SharedPtr<audio::drain::FormatUpdate> tmp(ETK_NEW(audio::drain::FormatUpdate));
|
||||
tmp->init();
|
||||
return tmp;
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ void audio::drain::Resampler::init() {
|
||||
}
|
||||
|
||||
ememory::SharedPtr<audio::drain::Resampler> audio::drain::Resampler::create() {
|
||||
ememory::SharedPtr<audio::drain::Resampler> tmp(new audio::drain::Resampler());
|
||||
ememory::SharedPtr<audio::drain::Resampler> tmp(ETK_NEW(audio::drain::Resampler));
|
||||
tmp->init();
|
||||
return tmp;
|
||||
}
|
||||
|
@ -24,7 +24,7 @@ void audio::drain::Volume::init() {
|
||||
}
|
||||
|
||||
ememory::SharedPtr<audio::drain::Volume> audio::drain::Volume::create() {
|
||||
ememory::SharedPtr<audio::drain::Volume> tmp(new audio::drain::Volume());
|
||||
ememory::SharedPtr<audio::drain::Volume> tmp(ETK_NEW(audio::drain::Volume));
|
||||
tmp->init();
|
||||
return tmp;
|
||||
}
|
||||
|
@ -52,7 +52,7 @@ class MainApplication : public ewol::context::Application {
|
||||
* @return std IO
|
||||
*/
|
||||
int main(int _argc, const char *_argv[]) {
|
||||
return ewol::run(new MainApplication(), _argc, _argv);
|
||||
return ewol::run(ETK_NEW(MainApplication), _argc, _argv);
|
||||
}
|
||||
|
||||
|
||||
|
@ -52,7 +52,7 @@ class MainApplication : public ewol::context::Application {
|
||||
* @return std IO
|
||||
*/
|
||||
int main(int _argc, const char *_argv[]) {
|
||||
return ewol::run(new MainApplication(), _argc, _argv);
|
||||
return ewol::run(ETK_NEW(MainApplication), _argc, _argv);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user