Add options get set

This commit is contained in:
John Zhao
2018-04-10 00:26:22 +08:00
parent ef38681bd1
commit 490185a577
6 changed files with 240 additions and 5 deletions

View File

@@ -42,6 +42,8 @@ int main(int argc, char *argv[]) {
}
}
device->LogOptionInfos();
std::size_t left_count = 0;
device->SetStreamCallback(
Stream::LEFT, [&left_count](const device::StreamData &data) {