Definition at line 102 of file audio.cpp.hpp.
102 {
103 if (
mImpl == other.mImpl) {
104 return true;
105 }
106 if (
mImpl ==
nullptr || other.mImpl ==
nullptr) {
107 return false;
108 }
109 if (
mImpl->pcm().size() != other.mImpl->pcm().size()) {
110 return false;
111 }
112 for (fl::size i = 0; i <
mImpl->pcm().
size(); ++i) {
113 if (
mImpl->pcm()[i] != other.mImpl->pcm()[i]) {
114 return false;
115 }
116 }
117 return true;
118}
fl::size size() const FL_NOEXCEPT
References Sample(), mImpl, and size().