Skip to content

Commit 4a4d271

Browse files
committed
Updated documentation
1 parent 6da3da4 commit 4a4d271

File tree

4 files changed

+22
-4
lines changed

4 files changed

+22
-4
lines changed

include/lsp-plug.in/shared/meta/developers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#define LSP_LV2_URI(id) LSP_BASE_URI "plugins/lv2/" id
3232
#define LSP_LADSPA_URI(id) LSP_BASE_URI "plugins/ladspa/" id
3333
#define LSP_LV2UI_URI(id) LSP_BASE_URI "ui/lv2/" id
34-
#define LSP_CLAP_URI(id) LSP_BASE_URI "plugins/clap/" id
34+
#define LSP_CLAP_URI(id) "in.lsp-plug." id
3535

3636
// LADSPA identifier allocation
3737
#define LSP_LADSPA_PHASE_DETECTOR_BASE (LSP_LADSPA_BASE + 0)

src/doc/inc/files.php

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
11
<?php
2+
function process_http_refs($text)
3+
{
4+
$match = array();
5+
6+
if (preg_match('/^(.*)\[([^\]]+)\]\s*\(([^\)]+)\)(.*)$/', $text, $match))
7+
{
8+
$text = process_http_refs($match[1]) .
9+
'<a href="' . htmlspecialchars($match[3]) . '">' .
10+
htmlspecialchars($match[2]) .
11+
'</a>' .
12+
process_http_refs($match[4]);
13+
}
14+
else {
15+
$text = htmlspecialchars($text);
16+
}
17+
return $text;
18+
}
19+
220
function file_emit_line(&$state, $line = '', $tag = null)
321
{
422
$s = &$state['state'];
@@ -9,7 +27,7 @@ function file_emit_line(&$state, $line = '', $tag = null)
927
$tag = end($s);
1028

1129
print('<' . $tag . '>');
12-
print(htmlspecialchars($state['line'] . $line));
30+
print(process_http_refs($state['line'] . $line));
1331
$state['line'] = '';
1432
print('</' . $tag . ">\n");
1533

src/doc/inc/plugins.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function plugin_header()
2727
echo "<h1>" . htmlspecialchars($plugin['description']) . "</h1>\n";
2828

2929
$fmt = array();
30-
if (isset($plugin['clap']) && ($plugin['clap']))
30+
if (isset($plugin['clap_uid']) && ($plugin['clap_uid']))
3131
array_push($fmt, 'CLAP');
3232
if (isset($plugin['jack']) && ($plugin['jack']))
3333
array_push($fmt, 'JACK');

src/doc/manuals/overview.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<p><b>LSP (Linux Studio Plugins)</b> is a collection of open-source plugins compatible with following formats:</p>
33
<ul>
44
<li><b>CLAP</b> - set of plugins for <a href="https://github.com/free-audio/clap">Clever Audio Plugins API</a></li>
5+
<li><b>JACK</b> - Standalone versions for <a href="https://jackaudio.org/">JACK Audio connection Kit</a> with UI</li>
56
<li><b>LADSPA</b> - set of plugins for <a href="https://en.wikipedia.org/wiki/LADSPA">Linux Audio Developer's Simple Plugin API</a></li>
67
<li><b>LV2</b> - set of plugins and UIs for <a href="https://lv2plug.in/">Linux Audio Developer's Simple Plugin API (LADSPA) version 2</a></li>
78
<li><b>LinuxVST</b> - set of plugins and UIs for <a href="https://www.steinberg.net/">Steinberg's VST 2.4</a> format ported on GNU/Linux Platform</li>
8-
<li><b>JACK</b> - Standalone versions for <a href="https://jackaudio.org/">JACK Audio connection Kit</a> with UI</li>
99
</ul>
1010

1111
<p>The basic idea is to fill the lack of good and useful plugins under the GNU/Linux platform.</p>

0 commit comments

Comments
 (0)