Browse Source

Misc

tags/1.9.6
falkTX 9 years ago
parent
commit
78f95d24e6
2 changed files with 4 additions and 3 deletions
  1. +3
    -2
      source/native-plugins/midi-base.hpp
  2. +1
    -1
      source/native-plugins/zynaddsubfx-synth.cpp

+ 3
- 2
source/native-plugins/midi-base.hpp View File

@@ -22,6 +22,7 @@
#include "CarlaMutex.hpp"
#include "LinkedList.hpp"

#include "CarlaJuceUtils.hpp"
#include "CarlaMathUtils.hpp"

#define MAX_EVENT_DATA_SIZE 4
@@ -33,11 +34,11 @@ struct RawMidiEvent {
uint8_t size;
uint8_t data[MAX_EVENT_DATA_SIZE];

RawMidiEvent()
RawMidiEvent() noexcept
: time(0),
size(0)
{
carla_fill<uint8_t>(data, 0, MAX_EVENT_DATA_SIZE);
carla_zeroBytes(data, MAX_EVENT_DATA_SIZE);
}
};



+ 1
- 1
source/native-plugins/zynaddsubfx-synth.cpp View File

@@ -59,7 +59,7 @@ extern CarlaString gUiPixmapPath;

void set_module_parameters(Fl_Widget* o)
{
CARLA_ASSERT(gModuleBackdrop != nullptr);
CARLA_SAFE_ASSERT_RETURN(gModuleBackdrop != nullptr,);

o->box(FL_DOWN_FRAME);
o->align(o->align() | FL_ALIGN_IMAGE_BACKDROP);


Loading…
Cancel
Save