|
lmms
Cross-platform music production software
|
Classes | |
| struct | SuspendPlugin |
| struct | Sync |
| Host to plugin synchronisation data structure. More... | |
Public Member Functions | |
| RemoteVstPlugin (const char *socketPath) | |
| virtual | ~RemoteVstPlugin () |
| virtual bool | processMessage (const message &_m) |
| void | init (const std::string &_plugin_file) |
| void | initEditor () |
| void | showEditor () |
| void | hideEditor () |
| void | destroyEditor () |
| virtual void | process (const SampleFrame *_in, SampleFrame *_out) |
| virtual void | processMidiEvent (const MidiEvent &event, const f_cnt_t offset) |
| virtual void | updateSampleRate () |
| virtual void | updateBufferSize () |
| void | setResumed (bool resumed) |
| bool | isResumed () const |
| bool | isInitialized () const |
| void | setBPM (const bpm_t _bpm) |
| int | pluginVersion () |
| const char * | pluginName () |
| const char * | pluginVendorString () |
| const char * | pluginProductString () |
| const char * | programName () |
| void | loadAllParameterDisplays () |
| void | loadAllParameterLabels () |
| void | updateParameterDisplay (int index) |
| Updates a parameter display that has already been loaded. | |
| void | updateParameterLabel (int index) |
| Updates a parameter label that has already been loaded. | |
| void | sendCurrentProgramName () |
| void | getParameterDump () |
| void | setParameterDump (const message &_m) |
| void | saveChunkToFile (const std::string &_file) |
| void | loadChunkFromFile (const std::string &_file, std::size_t _len) |
| void | loadPresetFile (const std::string &_file) |
| void | setProgram (int index) |
| void | rotateProgram (int offset) |
| void | getProgramNames () |
| void | savePreset (const std::string &_file) |
| virtual int | inputCount () const |
| virtual int | outputCount () const |
| int | updateInOutCount () |
| void | lockShm () |
| bool | tryLockShm () |
| void | unlockShm () |
| bool | isShmValid () |
| void | setShmIsValid (bool valid) |
| bool | isProcessing () const |
| void | setProcessing (bool processing) |
| void | queueMessage (const message &m) |
| bool | shouldGiveIdle () const |
| void | setShouldGiveIdle (bool shouldGiveIdle) |
| void | idle () |
| void | processUIThreadMessages () |
| Public Member Functions inherited from lmms::RemotePluginClient | |
| RemotePluginClient (const char *socketPath) | |
| ~RemotePluginClient () override | |
| const VstSyncData * | getVstSyncData () |
| sample_rate_t | sampleRate () const |
| f_cnt_t | bufferSize () const |
| void | setInputCount (int _i) |
| void | setOutputCount (int _i) |
| void | setInputOutputCount (int i, int o) |
| void | debugMessage (const std::string &_s) |
| Public Member Functions inherited from lmms::RemotePluginBase | |
| RemotePluginBase () | |
| virtual | ~RemotePluginBase () |
| int | sendMessage (const message &_m) |
| message | receiveMessage () |
| bool | isInvalid () const |
| message | waitForMessage (const message &_m, bool _busy_waiting=false) |
| message | fetchAndProcessNextMessage () |
| int32_t | readInt () |
| void | writeInt (const int32_t &_i) |
| std::string | readString () |
| void | writeString (const std::string &_s) |
| bool | messagesLeft () |
| void | fetchAndProcessAllMessages () |
Static Public Member Functions | |
| static DWORD WINAPI | processingThread (LPVOID _param) |
| static bool | setupMessageWindow () |
| static DWORD WINAPI | guiEventLoop () |
| static LRESULT CALLBACK | wndProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
| Static Public Member Functions inherited from lmms::RemotePluginBase | |
| static bool | isMainThreadWaiting () |
Private Types | |
| enum class | GuiThreadMessage { None , ProcessPluginMessage , GiveIdle , ClosePlugin } |
| using | VstMidiEventList = std::vector<VstMidiEvent> |
Private Member Functions | |
| bool | load (const std::string &_plugin_file) |
| int | pluginDispatch (int cmd, int param1=0, int param2=0, void *p=nullptr, float f=0) |
Static Private Member Functions | |
| static intptr_t VST_CALL_CONV | hostCallback (AEffect *_effect, int32_t _opcode, int32_t _index, intptr_t _value, void *_ptr, float _opt) |
Private Attributes | |
| std::string | m_shortName |
| HINSTANCE | m_libInst |
| AEffect * | m_plugin |
| HWND | m_window = nullptr |
| intptr_t | m_windowID |
| int | m_windowWidth |
| int | m_windowHeight |
| bool | m_initialized |
| bool | m_resumed |
| bool | m_processing |
| std::queue< message > | m_messageList |
| bool | m_shouldGiveIdle |
| float ** | m_inputs |
| float ** | m_outputs |
| std::mutex | m_shmLock |
| bool | m_shmValid |
| VstMidiEventList | m_midiEvents |
| bpm_t | m_bpm |
| double | m_currentSamplePos |
| int | m_currentProgram |
| Sync | m_sync |
Additional Inherited Members | |
| Protected Member Functions inherited from lmms::RemotePluginBase | |
| void | invalidate () |
| Protected Attributes inherited from lmms::RemotePluginBase | |
| int | m_socket |
|
private |
|
strongprivate |
| lmms::RemoteVstPlugin::RemoteVstPlugin | ( | const char * | socketPath | ) |
|
virtual |
| void lmms::RemoteVstPlugin::destroyEditor | ( | ) |
| void lmms::RemoteVstPlugin::getParameterDump | ( | ) |
| void lmms::RemoteVstPlugin::getProgramNames | ( | ) |
|
static |
| void lmms::RemoteVstPlugin::hideEditor | ( | ) |
|
staticprivate |
| void lmms::RemoteVstPlugin::idle | ( | ) |
| void lmms::RemoteVstPlugin::init | ( | const std::string & | _plugin_file | ) |
| void lmms::RemoteVstPlugin::initEditor | ( | ) |
|
inlinevirtual |
Reimplemented from lmms::RemotePluginClient.
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
| void lmms::RemoteVstPlugin::loadAllParameterDisplays | ( | ) |
| void lmms::RemoteVstPlugin::loadAllParameterLabels | ( | ) |
| void lmms::RemoteVstPlugin::loadChunkFromFile | ( | const std::string & | _file, |
| std::size_t | _len ) |
| void lmms::RemoteVstPlugin::loadPresetFile | ( | const std::string & | _file | ) |
|
inline |
|
inlinevirtual |
Reimplemented from lmms::RemotePluginClient.
|
inlineprivate |
| const char * lmms::RemoteVstPlugin::pluginName | ( | ) |
| const char * lmms::RemoteVstPlugin::pluginProductString | ( | ) |
| const char * lmms::RemoteVstPlugin::pluginVendorString | ( | ) |
|
inline |
|
virtual |
Implements lmms::RemotePluginClient.
|
static |
|
virtual |
Reimplemented from lmms::RemotePluginClient.
|
virtual |
Reimplemented from lmms::RemotePluginClient.
| void lmms::RemoteVstPlugin::processUIThreadMessages | ( | ) |
| const char * lmms::RemoteVstPlugin::programName | ( | ) |
|
inline |
| void lmms::RemoteVstPlugin::rotateProgram | ( | int | offset | ) |
| void lmms::RemoteVstPlugin::saveChunkToFile | ( | const std::string & | _file | ) |
| void lmms::RemoteVstPlugin::savePreset | ( | const std::string & | _file | ) |
| void lmms::RemoteVstPlugin::sendCurrentProgramName | ( | ) |
|
inline |
| void lmms::RemoteVstPlugin::setParameterDump | ( | const message & | _m | ) |
|
inline |
| void lmms::RemoteVstPlugin::setProgram | ( | int | index | ) |
|
inline |
|
inline |
|
inline |
|
static |
|
inline |
| void lmms::RemoteVstPlugin::showEditor | ( | ) |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented from lmms::RemotePluginClient.
| int lmms::RemoteVstPlugin::updateInOutCount | ( | ) |
| void lmms::RemoteVstPlugin::updateParameterDisplay | ( | int | index | ) |
Updates a parameter display that has already been loaded.
| void lmms::RemoteVstPlugin::updateParameterLabel | ( | int | index | ) |
Updates a parameter label that has already been loaded.
|
inlinevirtual |
Reimplemented from lmms::RemotePluginClient.
|
static |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |