mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 09:06:33 +01:00
Improve plugin Ccategory consistency somewhat
This commit is contained in:
parent
159e956225
commit
a199477cf6
3 changed files with 10 additions and 10 deletions
|
|
@ -2901,24 +2901,24 @@ AUPluginInfo::discover_by_description (PluginInfoList& plugs, CAComponentDescrip
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
case kAudioUnitType_Output:
|
case kAudioUnitType_Output:
|
||||||
info->category = _("AudioUnit Outputs");
|
info->category = _("AudioUnit Output");
|
||||||
break;
|
break;
|
||||||
case kAudioUnitType_MusicDevice:
|
case kAudioUnitType_MusicDevice:
|
||||||
info->category = _("AudioUnit Instruments");
|
info->category = _("Instrument");
|
||||||
has_midi_in = true;
|
has_midi_in = true;
|
||||||
break;
|
break;
|
||||||
case kAudioUnitType_MusicEffect:
|
case kAudioUnitType_MusicEffect:
|
||||||
info->category = _("AudioUnit MusicEffects");
|
info->category = _("Music Effect");
|
||||||
has_midi_in = true;
|
has_midi_in = true;
|
||||||
break;
|
break;
|
||||||
case kAudioUnitType_Effect:
|
case kAudioUnitType_Effect:
|
||||||
info->category = _("AudioUnit Effects");
|
info->category = _("Effect");
|
||||||
break;
|
break;
|
||||||
case kAudioUnitType_Mixer:
|
case kAudioUnitType_Mixer:
|
||||||
info->category = _("AudioUnit Mixers");
|
info->category = _("Mixer");
|
||||||
break;
|
break;
|
||||||
case kAudioUnitType_Generator:
|
case kAudioUnitType_Generator:
|
||||||
info->category = _("AudioUnit Generators");
|
info->category = _("Generator");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
info->category = _("AudioUnit (Unknown)");
|
info->category = _("AudioUnit (Unknown)");
|
||||||
|
|
|
||||||
|
|
@ -3356,7 +3356,7 @@ LV2PluginInfo::in_category (const std::string &c) const
|
||||||
{
|
{
|
||||||
// TODO use untranslated lilv_plugin_get_class()
|
// TODO use untranslated lilv_plugin_get_class()
|
||||||
// match gtk2_ardour/plugin_selector.cc
|
// match gtk2_ardour/plugin_selector.cc
|
||||||
return category.find(c) != string::npos;
|
return category == c;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
|
|
||||||
|
|
@ -649,10 +649,10 @@ vstfx_parse_vst_state (VSTState* vstfx)
|
||||||
switch (plugin->dispatcher (plugin, effGetPlugCategory, 0, 0, 0, 0))
|
switch (plugin->dispatcher (plugin, effGetPlugCategory, 0, 0, 0, 0))
|
||||||
{
|
{
|
||||||
case kPlugCategEffect: info->Category = strdup ("Effect"); break;
|
case kPlugCategEffect: info->Category = strdup ("Effect"); break;
|
||||||
case kPlugCategSynth: info->Category = strdup ("Synth"); break;
|
case kPlugCategSynth: info->Category = strdup ("Instrument"); break;
|
||||||
case kPlugCategAnalysis: info->Category = strdup ("Anaylsis"); break;
|
case kPlugCategAnalysis: info->Category = strdup ("Analyser"); break;
|
||||||
case kPlugCategMastering: info->Category = strdup ("Mastering"); break;
|
case kPlugCategMastering: info->Category = strdup ("Mastering"); break;
|
||||||
case kPlugCategSpacializer: info->Category = strdup ("Spacializer"); break;
|
case kPlugCategSpacializer: info->Category = strdup ("Spatial"); break;
|
||||||
case kPlugCategRoomFx: info->Category = strdup ("RoomFx"); break;
|
case kPlugCategRoomFx: info->Category = strdup ("RoomFx"); break;
|
||||||
case kPlugSurroundFx: info->Category = strdup ("SurroundFx"); break;
|
case kPlugSurroundFx: info->Category = strdup ("SurroundFx"); break;
|
||||||
case kPlugCategRestoration: info->Category = strdup ("Restoration"); break;
|
case kPlugCategRestoration: info->Category = strdup ("Restoration"); break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue