Home /Modules/audio/AudioNative.sleela

AudioNative.sleela

audio/sleela/AudioNative.sleela · 16 line(s) · sleela

#sleela 2.1
// Native boundary: the VM owns the job; the host supplies the C++ renderer callback.
class AudioNative {
  static bool validateExecutable(String executable) {
    return executable != "";
  }

  static bool render(int handle) {
    return audioRender(handle);
  }

  static String platform() {
    return audioPlatform();
  }
}