Fix casing of filenames and code in plugins/ (#6350)
No functional changes! No changes to savefiles/presets! Fixes casing of everything that is currently lowercase but should be uppercase. Fixes also some other plugin strings, especially: * opl2 -> OpulenZ (see289887f4fc) * calf -> veal (seeae291e0709) * ladspa_effect -> LadspaEffect (see9c9372f0c8) * remove flp_import (see2d1813fb64)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* LadspaManager.h - declaration of class ladspaManager
|
||||
* LadspaManager.h - declaration of class LadspaManager
|
||||
* a class to manage loading and instantiation
|
||||
* of ladspa plugins
|
||||
*
|
||||
@@ -47,7 +47,7 @@ typedef QPair<QString, ladspa_key_t> sortable_plugin_t;
|
||||
typedef QList<sortable_plugin_t> l_sortable_plugin_t;
|
||||
typedef QList<ladspa_key_t> l_ladspa_key_t;
|
||||
|
||||
/* ladspaManager provides a database of LADSPA plug-ins. Upon instantiation,
|
||||
/* LadspaManager provides a database of LADSPA plug-ins. Upon instantiation,
|
||||
it loads all of the plug-ins found in the LADSPA_PATH environmental variable
|
||||
and stores their access descriptors according in a dictionary keyed on
|
||||
the filename the plug-in was loaded from and the label of the plug-in.
|
||||
@@ -60,7 +60,7 @@ calls using:
|
||||
|
||||
as the plug-in key. */
|
||||
|
||||
enum ladspaPluginType
|
||||
enum LadspaPluginType
|
||||
{
|
||||
SOURCE,
|
||||
TRANSFER,
|
||||
@@ -70,14 +70,14 @@ enum ladspaPluginType
|
||||
OTHER
|
||||
};
|
||||
|
||||
typedef struct ladspaManagerStorage
|
||||
typedef struct LadspaManagerStorage
|
||||
{
|
||||
LADSPA_Descriptor_Function descriptorFunction;
|
||||
uint32_t index;
|
||||
ladspaPluginType type;
|
||||
LadspaPluginType type;
|
||||
uint16_t inputChannels;
|
||||
uint16_t outputChannels;
|
||||
} ladspaManagerDescription;
|
||||
} LadspaManagerDescription;
|
||||
|
||||
|
||||
class LMMS_EXPORT LadspaManager
|
||||
@@ -88,7 +88,7 @@ public:
|
||||
virtual ~LadspaManager();
|
||||
|
||||
l_sortable_plugin_t getSortedPlugins();
|
||||
ladspaManagerDescription * getDescription( const ladspa_key_t &
|
||||
LadspaManagerDescription * getDescription( const ladspa_key_t &
|
||||
_plugin );
|
||||
|
||||
/* This identifier can be used as a unique, case-sensitive
|
||||
@@ -339,9 +339,9 @@ private:
|
||||
const LADSPA_PortRangeHint* getPortRangeHint( const ladspa_key_t& _plugin,
|
||||
uint32_t _port );
|
||||
|
||||
typedef QMap<ladspa_key_t, ladspaManagerDescription *>
|
||||
ladspaManagerMapType;
|
||||
ladspaManagerMapType m_ladspaManagerMap;
|
||||
typedef QMap<ladspa_key_t, LadspaManagerDescription *>
|
||||
LadspaManagerMapType;
|
||||
LadspaManagerMapType m_ladspaManagerMap;
|
||||
l_sortable_plugin_t m_sortedPlugins;
|
||||
|
||||
} ;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* PluginBrowser.h - include file for pluginBrowser
|
||||
* PluginBrowser.h - include file for PluginBrowser
|
||||
*
|
||||
* Copyright (c) 2005-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
|
||||
@@ -31,10 +31,10 @@
|
||||
#include "Midi.h"
|
||||
#include "volume.h"
|
||||
|
||||
inline stereoVolumeVector panningToVolumeVector( panning_t _p,
|
||||
inline StereoVolumeVector panningToVolumeVector( panning_t _p,
|
||||
float _scale = 1.0f )
|
||||
{
|
||||
stereoVolumeVector v = { { _scale, _scale } };
|
||||
StereoVolumeVector v = { { _scale, _scale } };
|
||||
const float pf = _p / 100.0f;
|
||||
v.vol[_p >= PanningCenter ? 0 : 1] *= 1.0f - qAbs<float>( pf );
|
||||
return v;
|
||||
|
||||
@@ -35,6 +35,6 @@ constexpr volume_t DefaultVolume = 100;
|
||||
typedef struct
|
||||
{
|
||||
float vol[2];
|
||||
} stereoVolumeVector;
|
||||
} StereoVolumeVector;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user