clap

CLAP Audio Plugin API
Log | Files | Refs | README | LICENSE

commit e60cf2dc22a9c1d1c985a99e0dcec8c36f06c398
parent d8a1d7878829adf8b43120803012fb91a19f3256
Author: Alexandre BIQUE <bique.alexandre@gmail.com>
Date:   Fri, 23 Apr 2021 00:21:50 +0200

Minor fixes

Diffstat:
Mspec.html | 6+++---
Mspec.rst | 6+++---
2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/spec.html b/spec.html @@ -221,7 +221,7 @@ in valid UTF-8.</p> </div> <div class="section" id="c-exceptions"> <h2><a class="toc-backref" href="#id5">C++ exceptions</a></h2> -<p>A CLAP interface must not send exception. It is supposed to work width +<p>A CLAP interface must not send exception. It is supposed to work with C programs.</p> </div> <div class="section" id="multi-threading"> @@ -329,10 +329,10 @@ a few methods. The attribute <tt class="docutils literal">clap_version</tt> must <span class="p">...</span> </pre> <p>If the extension is not supported, the plugin must return <tt class="docutils literal">NULL</tt>.</p> -<p>Extensions are interface, and <strong>there is no need for the caller to free the pointer</strong>.</p> +<p>Extensions are interface, and <strong>the caller must not free the pointer</strong>.</p> <p>By convention, extensions should provide a define for the extension name.</p> <pre class="code c literal-block"> -<span class="c1">// defined in &lt;clap/ext/ports.h&gt; +<span class="c1">// defined in &lt;clap/ext/audio-ports.h&gt; </span><span class="cp"># define CLAP_EXT_AUDIO_PORTS &quot;clap/audio-ports&quot;</span> </pre> </div> diff --git a/spec.rst b/spec.rst @@ -61,7 +61,7 @@ in valid UTF-8. C++ exceptions -------------- -A CLAP interface must not send exception. It is supposed to work width +A CLAP interface must not send exception. It is supposed to work with C programs. Multi-Threading @@ -171,13 +171,13 @@ To extend clap's functionnality, there is a pretty simple mechanism: If the extension is not supported, the plugin must return ``NULL``. -Extensions are interface, and **there is no need for the caller to free the pointer**. +Extensions are interface, and **the caller must not free the pointer**. By convention, extensions should provide a define for the extension name. .. code:: c - // defined in <clap/ext/ports.h> + // defined in <clap/ext/audio-ports.h> # define CLAP_EXT_AUDIO_PORTS "clap/audio-ports" Audio ports configuration