Commit Graph

12 Commits

Author SHA1 Message Date
Tobias Doerffel
79abf9ca85 ZynAddSubFX: set working directory before setting preset directory
Set working directory before setting preset directory as otherwise
the changes made by LocalZynAddSubFx::setPresetDir() will get lost.
2010-07-25 20:14:20 +02:00
Tobias Doerffel
9984e47b60 Merge branch 'master' into zynaddsubfx-master 2010-07-25 20:13:59 +02:00
Tobias Doerffel
000f67d01d ZynAddSubFX: save configuration file in LMMS working directory
On non-Linux platforms configuration file was saved in the application
path which definitely is not desired and also will not work in many
situations. Therefore always save ZynAddSubFX configuration file in
LMMS working directory.
2010-07-25 19:16:52 +02:00
Tobias Doerffel
63f7846cf2 Merge branch 'master' into zynaddsubfx-master 2010-07-25 17:28:26 +02:00
Tobias Doerffel
fe7486750b ZynAddSubFX: allow hiding UI by closing main window
It's now possible to hide the ZynAddSubFX UI by simply closing its main
window instead of going back to LMMS and toggle the "Show UI" button.

Furthermore moved code for GUI thread into a non-static member function
of RemoteZynAddSubFx and removed the old code for handling IdHideUI
messages.
2010-07-25 15:20:48 +02:00
Tobias Doerffel
9fd3dacb67 Fixed spelling errors
Fixed some spelling errors found by Lintian while checking the Debian
package of LMMS. Thanks to Patrick Winnertz for pointing out this issue.
2010-01-25 23:24:42 +01:00
Tobias Doerffel
1a9b7b5fe0 ZynAddSubFX: new QtXmlWrapper, a QtXml-based XML backend for ZASF
ZynAddSubFX comes with a default XMLwrapper class which uses mxml
library as backend. It is however does not make much sense to ship mxml
as an additional XML framework. With the new QtXmlWrapper class we can
drop all mxml source code.

Saving and loading settings/presets works well so far, but there still
might be bugs in this implementation.
2009-10-29 23:17:52 +01:00
Tobias Doerffel
17b388d482 ZynAddSubFX: flush temporary data exchange file
LMMS' ZynAddSubFX plugin creates a temporary file for exchanging XML
data with the remote process. After calling QFile::write(...) data
has not neccessarily been written due to QFile's internal write buffer.
Therefore explicitely call QFile::flush() so all data is guaranteed
to be written.

Closes #2877916.
2009-10-29 23:11:44 +01:00
Tobias Doerffel
3c18e436cd ZynAddSubFX: resynced with their Git repo
ZynAddSubFX has gained some new developer power so development has been
going on well for quite a while now in their Git repo. It's time for
the first big resync so future changes can be integrated easily.
2009-09-17 23:29:09 +02:00
Tobias Doerffel
6940d19969 InstrumentPlayHandle: do not process if InstrumentTrack is muted
While regular instruments were excluded from processing when muted
this did not happen for InstrumentPlayHandle-based instruments. Muting
for exampling tracks with VSTi's inside did not decrease CPU usage.
Checking whether related InstrumentTrack is muted before calling
Instrument::play() fixes this issue.

Closes #2857426.
2009-09-15 10:10:02 +02:00
Tobias Doerffel
5c96adbd6d ZynAddSubFX: fix plugin descriptor name
While fixing the name of the plugin library in commit
883836aa8a the plugin descriptor
structure has not been updated.
2009-09-02 22:32:21 +02:00
Tobias Doerffel
f1d383d04d ZynAddSubFX: added GUI-less mode
Added a new GUI-less mode to ZynAddSubFX instrument plugin which allows
to let ZynAddSubFX audio processing happen within LMMS, giving a much
better realtime behaviour.

As soon as showing up the GUI settings of GUI-less ZynAddSubFX instance
are saved and a traditional RemoteZynAddSubFx process is being launched
and the settings are applied there.
2009-08-28 23:52:38 +02:00