mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-22 21:27:22 +01:00
Consolidate code: use API to print plugin-type 1/2
This commit is contained in:
parent
d72423fdc8
commit
dcea35191c
2 changed files with 3 additions and 30 deletions
|
|
@ -28,14 +28,7 @@ function factory () return function ()
|
|||
end
|
||||
|
||||
function plugintypestr (t)
|
||||
if (t == ARDOUR.PluginType.LADSPA) then return "LADSPA" end
|
||||
if (t == ARDOUR.PluginType.LV2) then return "LV2" end
|
||||
if (t == ARDOUR.PluginType.AudioUnit) then return "AU" end
|
||||
if (t == ARDOUR.PluginType.Windows_VST) then return "VST" end
|
||||
if (t == ARDOUR.PluginType.LXVST) then return "VST" end
|
||||
if (t == ARDOUR.PluginType.MacVST) then return "VST" end
|
||||
if (t == ARDOUR.PluginType.Lua) then return "Lua" end
|
||||
return "??"
|
||||
return ARDOUR.PluginType.name (t)
|
||||
end
|
||||
|
||||
if next(all_plugs) == nil then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue