Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DSP library now using test.cpp during project build. addresses issue #…
- Loading branch information
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// | ||
// test.cpp | ||
// JamomaDSPTest | ||
// | ||
// Created by Nathan Wolek on 10/2/13. | ||
// | ||
// | ||
|
||
#include <iostream> | ||
#include "TTFoundationAPI.h" | ||
#include "TTDSP.h" | ||
|
||
int main(int argc, const char * argv[]) | ||
{ | ||
TTDSPInit(); | ||
|
||
TTValue classNames; | ||
TTValue testClassesWithTheseTags(TT("dspLibrary")); | ||
|
||
TTObject::GetRegisteredClassNamesForTags(classNames, testClassesWithTheseTags); | ||
|
||
|
||
for (int i=0; i<classNames.size(); i++) { | ||
TTSymbol name = classNames[i]; | ||
TTObject obj(name); | ||
|
||
obj.send("test"); | ||
} | ||
|
||
// insert code here... | ||
std::cout << "Hello, World!\n"; | ||
return 0; | ||
} | ||
|