diff --git a/include/SCBufferAdaptor.hpp b/include/SCBufferAdaptor.hpp index 2be9d9d..bca7445 100644 --- a/include/SCBufferAdaptor.hpp +++ b/include/SCBufferAdaptor.hpp @@ -105,10 +105,10 @@ public: // knows about bool valid() const override { - return (exists() && (mLocal ? true : mBufnum >= 0 && mBufnum < asSigned(mWorld->mNumSndBufs))); + return (mLocal ? true : mBufnum >= 0 && mBufnum < asSigned(mWorld->mNumSndBufs)); } - bool exists() const override { return mBuffer && mBuffer->data; } + bool exists() const override { return true; } FluidTensorView allFrames() override {