kockie69 / SquinkyVCV-main

GNU General Public License v3.0
22 stars 12 forks source link

The compatbility diagnostics from SFZ Player don't come out any more #18

Closed squinkylabs closed 2 years ago

squinkylabs commented 2 years ago

The manual says that SFZ player will log diagnostics when it has problems loading an SFZ, but that doesn't work any more becuase it relied on SQINFO. Like here:


class SamplerErrorContext {
public:
    bool empty() const {
        return unrecognizedOpcodes.empty() && !sawMalformedInput;
    }
    void dump() const {
        //SQWARN("err dump nimp");
        if (!unrecognizedOpcodes.empty()) {
            //SQINFO("unimplemented opcodes:");
        }
        for (auto x : unrecognizedOpcodes) {
            //SQINFO("%s", x.c_str());
        }
    }
    std::set<std::string> unrecognizedOpcodes;
    bool sawMalformedInput = false;         // not fatal
};
kockie69 commented 2 years ago

SQINFO enabled again