diff options
| author | Florian Jung <flo@windfisch.org> | 2011-07-28 17:20:06 +0000 | 
|---|---|---|
| committer | Florian Jung <flo@windfisch.org> | 2011-07-28 17:20:06 +0000 | 
| commit | d8b982306e85b2a29f793d50cab2a424c1715c0d (patch) | |
| tree | 389dbe1037fdb0f2639e5610f3d6c394ed8c9233 /muse2/synti | |
| parent | 7193ff9d74fe76737d28ba77bf3dcadac19d2895 (diff) | |
| parent | 346fbb6c864890959ac2e3a7f4549d6bb202373e (diff) | |
merged with trunk
Diffstat (limited to 'muse2/synti')
| -rw-r--r-- | muse2/synti/deicsonze/deicsonze.cpp | 2 | ||||
| -rw-r--r-- | muse2/synti/fluidsynth/fluidsynti.cpp | 2 | ||||
| -rw-r--r-- | muse2/synti/organ/organ.cpp | 2 | ||||
| -rw-r--r-- | muse2/synti/simpledrums2/simpledrums.cpp | 2 | ||||
| -rw-r--r-- | muse2/synti/vam/vam.cpp | 2 | 
5 files changed, 5 insertions, 5 deletions
| diff --git a/muse2/synti/deicsonze/deicsonze.cpp b/muse2/synti/deicsonze/deicsonze.cpp index b723e925..bffedf53 100644 --- a/muse2/synti/deicsonze/deicsonze.cpp +++ b/muse2/synti/deicsonze/deicsonze.cpp @@ -265,7 +265,7 @@ DeicsOnze::~DeicsOnze()  int DeicsOnze::oldMidiStateHeader(const unsigned char** data) const   { -  unsigned char const d[2] = {MUSE_SYNTH_SYSEX_MFG_ID, DEICSONZE_UNIQUE_ID}; +  static unsigned char const d[2] = {MUSE_SYNTH_SYSEX_MFG_ID, DEICSONZE_UNIQUE_ID};    *data = &d[0];    return 2;   } diff --git a/muse2/synti/fluidsynth/fluidsynti.cpp b/muse2/synti/fluidsynth/fluidsynti.cpp index 35ee16df..63a516ed 100644 --- a/muse2/synti/fluidsynth/fluidsynti.cpp +++ b/muse2/synti/fluidsynth/fluidsynti.cpp @@ -144,7 +144,7 @@ bool FluidSynth::init(const char* name)  int FluidSynth::oldMidiStateHeader(const unsigned char** data) const   { -  unsigned char const d[2] = {MUSE_SYNTH_SYSEX_MFG_ID, FLUIDSYNTH_UNIQUE_ID}; +  static unsigned char const d[2] = {MUSE_SYNTH_SYSEX_MFG_ID, FLUIDSYNTH_UNIQUE_ID};    *data = &d[0];    return 2;   } diff --git a/muse2/synti/organ/organ.cpp b/muse2/synti/organ/organ.cpp index f3bb3b9f..60f3f52d 100644 --- a/muse2/synti/organ/organ.cpp +++ b/muse2/synti/organ/organ.cpp @@ -175,7 +175,7 @@ bool Organ::init(const char* name)  int Organ::oldMidiStateHeader(const unsigned char** data) const   { -  unsigned char const d[3] = {MUSE_SYNTH_SYSEX_MFG_ID, ORGAN_UNIQUE_ID, INIT_DATA_CMD}; +  static unsigned char const d[3] = {MUSE_SYNTH_SYSEX_MFG_ID, ORGAN_UNIQUE_ID, INIT_DATA_CMD};    *data = &d[0];    return 3;   } diff --git a/muse2/synti/simpledrums2/simpledrums.cpp b/muse2/synti/simpledrums2/simpledrums.cpp index 80f61102..2da4ed82 100644 --- a/muse2/synti/simpledrums2/simpledrums.cpp +++ b/muse2/synti/simpledrums2/simpledrums.cpp @@ -251,7 +251,7 @@ SimpleSynth::~SimpleSynth()  int SimpleSynth::oldMidiStateHeader(const unsigned char** data) const   { -  unsigned char const d[2] = {MUSE_SYNTH_SYSEX_MFG_ID, SIMPLEDRUMS_UNIQUE_ID}; +  static unsigned char const d[2] = {MUSE_SYNTH_SYSEX_MFG_ID, SIMPLEDRUMS_UNIQUE_ID};    *data = &d[0];    return 2;   } diff --git a/muse2/synti/vam/vam.cpp b/muse2/synti/vam/vam.cpp index 14280651..78328eb2 100644 --- a/muse2/synti/vam/vam.cpp +++ b/muse2/synti/vam/vam.cpp @@ -258,7 +258,7 @@ VAM::~VAM()  int VAM::oldMidiStateHeader(const unsigned char** data) const   { -  unsigned char const d[3] = {MUSE_SYNTH_SYSEX_MFG_ID, VAM_UNIQUE_ID, INIT_DATA_CMD}; +  static unsigned char const d[3] = {MUSE_SYNTH_SYSEX_MFG_ID, VAM_UNIQUE_ID, INIT_DATA_CMD};    *data = &d[0];    return 3;   } | 
