Definition at line 46 of file audio.cpp.
46 {
47 if (
mImpl == other.mImpl) {
48 return true;
49 }
50 if (
mImpl ==
nullptr || other.mImpl ==
nullptr) {
51 return false;
52 }
53 if (
mImpl->pcm().size() != other.mImpl->pcm().size()) {
54 return false;
55 }
56 for (fl::size i = 0; i <
mImpl->pcm().
size(); ++i) {
57 if (
mImpl->pcm()[i] != other.mImpl->pcm()[i]) {
58 return false;
59 }
60 }
61 return true;
62}
References AudioSample(), mImpl, and size().