I've been able to get the Heavy API working on a C++ project but now I'm trying to work with a platform all written in C and I'm having issues with the API getting it initialized. Most of what I'm doing is just proof of concept at this point so I'm just testing a simple sine wave to make sure everything is working.

I create the context using this line:

HeavyContextInterface *context = hv_sin440_new(44100);

I receive the error "initializer element is not constant"

Has anyone seen this or has anyone had luck using the C API for Heavy?

Can you post all of your code (including the heavy-generated files)?