We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9910fad commit ff84dedCopy full SHA for ff84ded
src/viam/examples/modules/audioin/client.cpp
@@ -62,7 +62,7 @@ int main() {
62
}
63
64
VIAM_SDK_LOG(info) << "Getting audio properties...";
65
- properties props = audio_in->get_properties();
+ audio_properties props = audio_in->get_properties();
66
VIAM_SDK_LOG(info) << "Audio properties:";
67
VIAM_SDK_LOG(info) << " sample_rate_hz: " << props.sample_rate_hz;
68
VIAM_SDK_LOG(info) << " num_channels: " << props.num_channels;
src/viam/sdk/components/audio_in.hpp
@@ -4,6 +4,7 @@
4
#pragma once
5
6
#include <string>
7
+#include <tuple>
8
9
#include <viam/sdk/common/audio.hpp>
10
#include <viam/sdk/common/proto_value.hpp>
0 commit comments