Definition at line 91 of file audio.cpp.
91 {
92 if (
mImpl == other.mImpl) {
93 return true;
94 }
95 if (
mImpl ==
nullptr || other.mImpl ==
nullptr) {
96 return false;
97 }
98 if (
mImpl->pcm().size() != other.mImpl->pcm().size()) {
99 return false;
100 }
101 for (fl::size i = 0; i <
mImpl->pcm().
size(); ++i) {
102 if (
mImpl->pcm()[i] != other.mImpl->pcm()[i]) {
103 return false;
104 }
105 }
106 return true;
107}
References AudioSample(), mImpl, and size().