MCPcopy Create free account
hub / github.com/DISTRHO/DPF / sendReadyToUI

Function sendReadyToUI

distrho/src/DistrhoPluginVST3.cpp:3032–3044  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3030 }
3031
3032 void sendReadyToUI() const
3033 {
3034 v3_message** const message = createMessage("ready");
3035 DISTRHO_SAFE_ASSERT_RETURN(message != nullptr,);
3036
3037 v3_attribute_list** const attrlist = v3_cpp_obj(message)->get_attributes(message);
3038 DISTRHO_SAFE_ASSERT_RETURN(attrlist != nullptr,);
3039
3040 v3_cpp_obj(attrlist)->set_int(attrlist, "__dpf_msg_target__", 2);
3041 v3_cpp_obj(fConnectionFromCtrlToView)->notify(fConnectionFromCtrlToView, message);
3042
3043 v3_cpp_obj_unref(message);
3044 }
3045 #endif
3046
3047 // ----------------------------------------------------------------------------------------------------------------

Callers 1

ctrl2view_notifyFunction · 0.85

Calls 4

v3_cpp_obj_unrefFunction · 0.85
createMessageFunction · 0.70
v3_cpp_objFunction · 0.50
notifyMethod · 0.45

Tested by

no test coverage detected