annotate pyin/pyin.cpp @ 33:935214f16f91
Add pYin build, use Makefile test target
author |
Chris Cannam <c.cannam@qmul.ac.uk> |
date |
Fri, 11 Nov 2016 11:13:42 +0000 |
parents |
|
children |
ac94242cf562 |
rev |
line source |
c@33
|
1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
|
c@33
|
2
|
c@33
|
3 #include "PiperExport.h"
|
c@33
|
4
|
c@33
|
5 #include "PYinVamp.h"
|
c@33
|
6 #include "YinVamp.h"
|
c@33
|
7 #include "LocalCandidatePYIN.h"
|
c@33
|
8
|
c@33
|
9 std::string soname("pyin");
|
c@33
|
10
|
c@33
|
11 piper_vamp_js::PiperAdapter<PYinVamp> pyinAdapter(soname);
|
c@33
|
12 piper_vamp_js::PiperAdapter<YinVamp> yinAdapter(soname);
|
c@33
|
13 piper_vamp_js::PiperAdapter<LocalCandidatePYIN> localCandAdapter(soname);
|
c@33
|
14
|
c@33
|
15 piper_vamp_js::PiperPluginLibrary library({
|
c@33
|
16 &pyinAdapter, &yinAdapter, &localCandAdapter
|
c@33
|
17 });
|
c@33
|
18
|
c@33
|
19 PIPER_EXPORT_LIBRARY(library);
|
c@33
|
20
|