|
DSPark 1.6.1
Header-only audio DSP framework in pure C++20 — zero dependencies
|
Classes | |
| class | Editor |
One embedded WebView editor instance for plugin class P. Owned by the format backends (the VST3 IPlugView object, the CLAP gui extension); plugin authors never touch this class - they only provide editorHtml() and friends. More... | |
| struct | HostCallbacks |
| How the editor reaches back into the format wrapper. Plain function pointers + context (no std::function, no virtuals): the wrapper translates to its format's gesture/automation calls and to the user's setParameter. All calls arrive on the host's main/UI thread, in PLAIN parameter values. More... | |
| struct | PostArgs |
One decoded bridge message: [op, id?, value?]. More... | |
Functions | |
| void | debugLog (const char *format,...) noexcept |
| void | appendJsonString (std::string &out, const char *s) |
| Appends a JSON string literal (quotes included, control chars escaped). | |
| void | appendJsonNumber (std::string &out, double v) |
| Appends a JSON number, immune to the process locale. | |
| const char * | parseJsonNumber (const char *s, double &out) noexcept |
| Locale-independent number parse; returns the end pointer or nullptr. | |
| bool | parsePostArgs (const char *s, PostArgs &out) noexcept |
| Parses the bridge's JSON array of scalars (op + optional id/number). | |
Variables | |
| constexpr const char * | kBridgeJs |
|
inline |
Appends a JSON number, immune to the process locale.
Definition at line 208 of file DSParkWebViewEditor.h.
|
inline |
Appends a JSON string literal (quotes included, control chars escaped).
Definition at line 179 of file DSParkWebViewEditor.h.
|
inlinenoexcept |
Definition at line 132 of file DSParkWebViewEditor.h.
|
inlinenoexcept |
Locale-independent number parse; returns the end pointer or nullptr.
Definition at line 223 of file DSParkWebViewEditor.h.
|
inlinenoexcept |
Parses the bridge's JSON array of scalars (op + optional id/number).
Definition at line 287 of file DSParkWebViewEditor.h.
|
inlineconstexpr |
Definition at line 384 of file DSParkWebViewEditor.h.