zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit cf3399cffd5f140d37e1c1897b91a3c6bc3250ab
parent 00dff649a84a6f9290e2d8c91c89df55406874e8
Author: paulnasca <paulnasca>
Date:   Tue, 12 Apr 2005 18:59:12 +0000

*** empty log message ***

Diffstat:
MChangeLog | 2+-
MREADME.txt | 2+-
Msrc/Misc/XMLwrapper.C | 6++++--
3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -787,5 +787,5 @@ 08 Apr 2005 - Corectata o mica eroare care facea ca sa nu se incarce configul la inceput - LANSAT PE INTERNET - VERSIUNEA (2.2.0) -------------------------------------------------------------------------------------------------- - +12 Apr 2005 - Actualizat pentru MXML 2.2 (nu o sa mearga pe vers. mai vechi de mxml) \ No newline at end of file diff --git a/README.txt b/README.txt @@ -31,7 +31,7 @@ Requirements: - FLTK 1.x.x (tested with fltk 1.1.0, 1.1.1, 1.1.2,etc.) - FFTW 2.x.x (tested with fftw 2.0.5, 2.1.3) - necesary for Fast Fourier computations - - MXML-2 library from http://www.easysw.com/~mike/mxml/ + - MXML-2.2 library from http://www.easysw.com/~mike/mxml/ - zlib library from http://www.zlib.org - this exists in most linux distributions - (for Linux) OpenSoundSystem (OSS) (if you don't have ALSA, only) - (for Windows) pthreads, portaudio diff --git a/src/Misc/XMLwrapper.C b/src/Misc/XMLwrapper.C @@ -73,10 +73,12 @@ XMLwrapper::XMLwrapper(){ information.PADsynth_used=false; - tree=mxmlNewElement(MXML_NO_PARENT,"?xml"); + tree=mxmlNewElement(MXML_NO_PARENT,"?xml version=\"1.0\" encoding=\"UTF-8\"?"); +/* for mxml 2.1 (and older) + tree=mxmlNewElement(MXML_NO_PARENT,"?xml"); mxmlElementSetAttr(tree,"version","1.0"); mxmlElementSetAttr(tree,"encoding","UTF-8"); - +*/ mxml_node_t *doctype=mxmlNewElement(tree,"!DOCTYPE"); mxmlElementSetAttr(doctype,"ZynAddSubFX-data",NULL);