Skip to content

Commit 6d495c7

Browse files
committed
fix equal operator
1 parent 65de978 commit 6d495c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/viam/sdk/components/audio_in.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ AudioIn::AudioIn(std::string name) : Component(std::move(name)) {}
1919

2020
bool operator==(const AudioIn::properties& lhs, const AudioIn::properties& rhs) {
2121
return lhs.supported_codecs == rhs.supported_codecs &&
22-
lhs.sample_rate_hz == rhs.sample_rate_hz && lhs.sample_rate_hz == rhs.sample_rate_hz;
22+
lhs.sample_rate_hz == rhs.sample_rate_hz && lhs.num_channels == rhs.num_channels;
2323
}
2424

2525
} // namespace sdk

0 commit comments

Comments
 (0)