Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
squinkylabs opened this issue Oct 1, 2021 · 1 comment
Closed

Comments

@squinkylabs
Copy link
Contributor

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
Copy link
Owner

kockie69 commented Oct 1, 2021

SQINFO enabled again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants