Commit Graph

58 Commits

Author SHA1 Message Date
Tobias Doerffel
69ff06e1b9 VstBase/CMakeLists.txt: do not fail with broken wineg++
With newer versions of wineg++ (1.1) errorneously adds the suffix ".exe"
to the target binary. This causes "make install" to fail. Therefore
rename remote_vst_plugin.exe if it exists.
2009-04-12 00:10:26 +02:00
Tobias Doerffel
337afffbf1 RemoteVstPlugin: removed obsolete warning
Removed obsolete warning about setting realtime. It's neither important
nor will calling printf()/fprintf() in a RemotePlugin print anything in
LMMS' console output.
2009-04-10 00:04:09 +02:00
Tobias Doerffel
7d1a357076 RemoteVstPlugin: fix issues with uniqueID
Removed the newline character at the end of the uniqueID array, decreased
array size to 5 and initialize last element with 0 after sprintf() call.
2009-04-10 00:02:29 +02:00
Tobias Doerffel
0abd4aad70 VstBase: initial support for saving/restoring chunks
Some VST plugins save their state as chunks rather than parameters.
According code to save/restore those chunks has been taken from FST 1.9.
However restore currently is disabled as it mostly fails for whatever
reason.
2009-04-09 23:40:04 +02:00
Tobias Doerffel
c0ff1aa95c RemoteVstPlugin: use std::vector rather than std::list
For some reason, building remote_vst_plugin.cpp with recent
wineg++/gcc-multilib on 64 bit platforms causes undefined symbols:

remote_vst_plugin-JzpHs6.o: In function `std::list<VstMidiEvent, std::allocator<VstMidiEvent> >::_M_insert(std::_List_iterator<VstMidiEvent>, VstMidiEvent const&)':
remote_vst_plugin.cpp:(.text._ZNSt4listI12VstMidiEventSaIS0_EE9_M_insertESt14_List_iteratorIS0_ERKS0_[std::list<VstMidiEvent, std::allocator<VstMidiEvent> >::_M_insert(std::_List_iterator<VstMidiEvent>, VstMidiEvent const&)]+0x35): undefined reference to `std::_List_node_base::hook(std::_List_node_base*)'

Replacing std::list with std::vector for queueing MIDI events seems to
fix this issue. Consider this as a workaround rather than constructive fix.
2009-04-07 12:37:17 +02:00
Tobias Doerffel
5dd68ea7f3 LVSL: track samplerate/tempo changes in VstPlugin base class
Up to now changes of samplerate or tempo only have been tracked by the
VeSTige plugin while e.g. the VstEffect didn't forward such changes to the
RemotePlugin. Moving according code from VeSTige to VstPlugin base class
fixes this issue.
2009-03-22 15:59:09 +01:00
Tobias Doerffel
96fb6f5a38 RemoteVstPlugin: use SplittedThreading model for MDA plugins
Most of the MDA VST plugins require the SplittedThreading model in order
to run properly. All plugins whose unique ID starts with "mda" will be
driven with the SplittedThreading model.
2009-03-22 14:50:57 +01:00
Tobias Doerffel
9bbb701dac Fixed file mode for files that were executable although they shouldn't be 2009-02-27 00:21:41 +01:00
Tobias Doerffel
14017622db fixed crash when adding VST effects
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1960 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-19 16:20:41 +00:00
Tobias Doerffel
2805d21634 removed debugging messages
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1902 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-10 00:46:00 +00:00
Tobias Doerffel
07a85799a7 rewrote wide parts of LVSL backend, see ChangeLog for details
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1898 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-10 00:40:55 +00:00
Tobias Doerffel
eb56db155f win32-version: fixed crash when using VST plugins without GUI
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1888 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-08 20:44:12 +00:00
Tobias Doerffel
9879a01553 explicitely declare updateSampleRate() and updateBufferSize() as virtual
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1867 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-04 19:53:31 +00:00
Tobias Doerffel
30c7732665 various fixes for successfully building LMMS for win64
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1804 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-27 21:25:46 +00:00
Tobias Doerffel
061333bb7c made building the WINE-part of VST Support Layer optional to allow packaging it in separate package (e.g. on 64 bit platforms)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1800 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-25 14:01:13 +00:00
Tobias Doerffel
87ee43a079 made STRINGIFY_PLUGIN_NAME from embed.h a generic macro STRINGIFY in lmms_basics.h
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1784 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-19 21:48:57 +00:00
Tobias Doerffel
04053f53fb improved VST GUI embedding (closes #2167745)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1780 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-19 16:20:38 +00:00
Tobias Doerffel
6008028852 various tweakings in LVSL
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1776 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-18 21:53:36 +00:00
Tobias Doerffel
d118b13257 renamed types.h to lmms_basics.h
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1748 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-06 18:45:20 +00:00
Tobias Doerffel
782fd7de09 made remotePluginClient::process() have no return value
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1694 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-22 23:36:37 +00:00
Tobias Doerffel
55fc7ec7ba fixed win32-specific build issues
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1594 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-08 23:41:59 +00:00
Tobias Doerffel
da2fcf130a UI finetuning / recompression of some PNG-files
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1589 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-08 12:47:11 +00:00
Tobias Doerffel
ee662759f0 hold lock while dumping parameters
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1549 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-04 22:31:24 +00:00
Tobias Doerffel
da59be05c8 cleanups
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1547 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-04 21:49:03 +00:00
Tobias Doerffel
a7e2ca44bb made VST support layer work on native win32
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1546 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-04 16:21:38 +00:00
Tobias Doerffel
5b98f07f22 rewrote VST support layer to use the new remotePlugin-framework
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1542 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-03 16:07:15 +00:00
Tobias Doerffel
3a7955d068 moved from lvsl_server.cpp
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1539 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-03 08:27:20 +00:00
Tobias Doerffel
60587102b8 moved from lvsl_client.h
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1538 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-03 08:26:12 +00:00
Tobias Doerffel
da0c5989a2 moved from lvsl_client.cpp
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1537 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-03 08:25:26 +00:00
Tobias Doerffel
d30a530482 fixed broken VST-support
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1517 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-28 23:00:37 +00:00
Tobias Doerffel
a2f33efef5 improved detection of machine type
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1492 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-26 09:17:29 +00:00
Tobias Doerffel
8e95a8463b another fix for out-of-tree builds
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1422 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-01 15:23:51 +00:00
Tobias Doerffel
26239fc54a fixed include-directories for lvsl_server-target for allowing out-of-tree builds
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1421 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-01 08:20:22 +00:00
Tobias Doerffel
257e60ab37 reduced header-dependencies
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1406 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-28 21:39:08 +00:00
Tobias Doerffel
264ffa232d added missing support for out-of-tree builds
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1383 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-27 17:51:18 +00:00
Tobias Doerffel
e637495489 migrated build-system to CMAKE
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1352 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-22 11:36:50 +00:00
Tobias Doerffel
d6262bb556 use lmmsconfig.h rather than config.h and use prefixed macro-names
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1097 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-08 11:30:47 +00:00
Tobias Doerffel
280d9bdcc0 made MidiEventTypes-enum conform coding-style, i.e. MidiNoteOn instead of NOTE_ON etc.
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1091 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-07 22:14:25 +00:00
Tobias Doerffel
aa08d06068 * plugins and core: use new pluginPixmapLoader
* lmmsStyle-class: load stylesheet here
* comboBox/comboBoxModel: use pixmapLoader-pointers rather than QPixmap-pointers
* in plugin-descriptor, hold a pointer to pixmapLoader instead of QPixmap itself
* embed-framework: introduced pixmapLoader and pluginPixmapLoader-classes for abstracting QPixmap-instantiation - models can hold pixmapLoaders without actually instantiating a QPixmap-object and views can access the pixmap
* main-window: removed settings-menu and moved setup-dialog to edit-menu
* config-manager: removed all the obsolete first-startup-wizard-code



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@999 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-20 23:41:45 +00:00
Tobias Doerffel
db789b050e * LVSL: call waitpid(...) when closing plugin - fixes zombie processes
* VST-effect: finally made VST-effect plugin work
* core: when rendering from command-line, only create a QCoreApplication - needs further work
* Singerbot: integrated patches from William Steidtmann <billstei/at/hbci/dot/com> which makes Singerbot at least compile - doesn't seem to work yet though



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@997 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-19 16:15:24 +00:00
Tobias Doerffel
5cfb1b2f96 made quality-settings (internal processing samplerate, interpolation and so on) independent of audio-devices (final output) and added new qualitySettings-structure to mixer - might be still buggy and HQ-mode is currently not working, this is going to be fixed tomorrow, anyways important preparation for new project-export-dialog
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@957 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-05 23:14:48 +00:00
Tobias Doerffel
f03d122732 show window before determining X-Window-ID as newer WINE-versions do not create X-windows before actually showing window
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@774 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-07 17:40:37 +00:00
Tobias Doerffel
9aead92760 properly insert VST-editor-window into QMdiArea
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@773 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-07 17:40:09 +00:00
Javier Serrano Polo
f8c17137ad DrumSynth relicense, MDI fixes, QPushButton inheritance, LiveTool fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@604 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-20 20:29:36 +00:00
Tobias Doerffel
0802a8be09 several small Qt4-fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@598 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-18 16:19:35 +00:00
Javier Serrano Polo
f01af6740e singerbot proxy, fixed recently opened files, style sheet support
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@574 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-11-03 14:41:58 +00:00
Javier Serrano Polo
f829bacee8 amd64 support, extra plugins support, some fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@568 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-10-04 17:33:42 +00:00
Tobias Doerffel
e24f094c62 dropped Qt3-support and improved Qt4-support
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@547 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-08-26 19:02:51 +00:00
Tobias Doerffel
1647da26fd renamed "mixer::framesPerAudioBuffer()" to "mixer::framesPerPeriod()" and type "fpab_t" to "fpp_t"
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@502 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-08-04 01:15:33 +00:00
Javier Serrano Polo
f94614cd77 simplified filtering, VST fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@478 0778d3d1-df1d-0410-868b-ea421aaaa00d
2007-04-25 20:48:18 +00:00