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 65de978 commit 6d495c7Copy full SHA for 6d495c7
src/viam/sdk/components/audio_in.cpp
@@ -19,7 +19,7 @@ AudioIn::AudioIn(std::string name) : Component(std::move(name)) {}
19
20
bool operator==(const AudioIn::properties& lhs, const AudioIn::properties& rhs) {
21
return lhs.supported_codecs == rhs.supported_codecs &&
22
- lhs.sample_rate_hz == rhs.sample_rate_hz && lhs.sample_rate_hz == rhs.sample_rate_hz;
+ lhs.sample_rate_hz == rhs.sample_rate_hz && lhs.num_channels == rhs.num_channels;
23
}
24
25
} // namespace sdk
0 commit comments