Skip to content

Commit

Permalink
Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
falkTX committed Aug 12, 2014
1 parent b9d4b4b commit af44f4f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 14 deletions.
8 changes: 3 additions & 5 deletions data/windows/build-win32.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,13 @@ fi
export WIN32=true

export PATH=$MINGW_PATH/bin:$MINGW_PATH/$MINGW/bin:$PATH
export AR=$MINGW-ar
export CC=$MINGW-gcc
export CXX=$MINGW-g++
export MOC=$MINGW-moc
export RCC=$MINGW-rcc
export UIC=$MINGW-uic
export STRIP=$MINGW-strip
export WINDRES=$MINGW-windres

export CFLAGS=-DPTW32_STATIC_LIB
export CXXFLAGS=-DPTW32_STATIC_LIB

export WINEARCH=win32
export WINEPREFIX=~/.winepy3_x86
export PYTHON_EXE="wine C:\\\\Python34\\\\python.exe"
Expand Down
8 changes: 3 additions & 5 deletions data/windows/build-win64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,13 @@ export WIN32=true
export WIN64=true

export PATH=$MINGW_PATH/bin:$MINGW_PATH/$MINGW/bin:$PATH
export AR=$MINGW-ar
export CC=$MINGW-gcc
export CXX=$MINGW-g++
export MOC=$MINGW-moc
export RCC=$MINGW-rcc
export UIC=$MINGW-uic
export STRIP=$MINGW-strip
export WINDRES=$MINGW-windres

export CFLAGS=-DPTW32_STATIC_LIB
export CXXFLAGS=-DPTW32_STATIC_LIB

export WINEARCH=win64
export WINEPREFIX=~/.winepy3_x64
export PYTHON_EXE="wine C:\\\\Python34\\\\python.exe"
Expand Down
13 changes: 10 additions & 3 deletions source/backend/engine/CarlaEngineJuce.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,13 @@ class CarlaEngineJuce : public CarlaEngine,
CarlaEngineJuce(AudioIODeviceType* const devType)
: CarlaEngine(),
AudioIODeviceCallback(),
fDeviceType(devType)
fDevice(),
fDeviceType(devType),
fMidiIns(),
fMidiInEvents(),
fMidiOuts(),
fMidiOutMutex(),
leakDetector_CarlaEngineJuce()
{
carla_debug("CarlaEngineJuce::CarlaEngineJuce(%p)", devType);

Expand Down Expand Up @@ -761,7 +767,8 @@ class CarlaEngineJuce : public CarlaEngine,
RtLinkedList<RtMidiEvent> dataPending;

RtMidiEvents()
: dataPool(512, 512),
: mutex(),
dataPool(512, 512),
data(dataPool),
dataPending(dataPool) {}

Expand Down Expand Up @@ -797,7 +804,7 @@ class CarlaEngineJuce : public CarlaEngine,
LinkedList<MidiOutPort> fMidiOuts;
CarlaMutex fMidiOutMutex;

JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(CarlaEngineJuce)
CARLA_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(CarlaEngineJuce)
};

// -----------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion source/backend/plugin/LinuxSamplerPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ class LinuxSamplerPlugin : public CarlaPlugin
{
CARLA_SAFE_ASSERT_RETURN(index >= -1 && index < static_cast<int32_t>(pData->prog.count),);

const int8_t channel(kIsGIG ? pData->ctrlChannel : 0);
const int8_t channel(kIsGIG ? pData->ctrlChannel : int8_t(0));

if (index >= 0 && channel >= 0 && channel < MAX_MIDI_CHANNELS)
{
Expand Down

0 comments on commit af44f4f

Please sign in to comment.