added raw data plugin
This commit is contained in:
12
bin/main.cpp
12
bin/main.cpp
@@ -14,10 +14,10 @@ auto main() -> int
|
||||
auto r = hr::run<hr::plugins::raw_data>(setup);
|
||||
hack::log()("size:", r.m_data.size());
|
||||
|
||||
if (!r.empty())
|
||||
{
|
||||
std::vector<float> s;
|
||||
for (auto p : r.m_data) s.push_back(p.m_value[0]);
|
||||
hack::log()(s);
|
||||
}
|
||||
// if (!r.empty())
|
||||
// {
|
||||
// std::vector<float> s;
|
||||
// for (auto p : r.m_data) s.push_back(p.m_value[0]);
|
||||
// hack::log()(s);
|
||||
// }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user