Browse Source

Fix the coding style where necessary

pull/212/head
Jean Pierre Cimalando 6 years ago
parent
commit
1adbf81544
3 changed files with 5 additions and 5 deletions
  1. +2
    -2
      distrho/src/DistrhoPluginInternal.hpp
  2. +1
    -1
      distrho/src/DistrhoPluginVST.cpp
  3. +2
    -2
      examples/SendNote/SendNoteExamplePlugin.cpp

+ 2
- 2
distrho/src/DistrhoPluginInternal.hpp View File

@@ -724,7 +724,7 @@ public:
fWriterIndex = (index + 1) % kMidiStorageCapacity;
}

uint32_t receive(MidiEvent *events, uint32_t eventCount)
uint32_t receive(MidiEvent* events, uint32_t eventCount)
{
if (fMidiCount == 0)
return eventCount;
@@ -765,7 +765,7 @@ protected:
uint8_t data[3];
};

ShortMessage *fMidiStorage;
ShortMessage* fMidiStorage;
volatile uint32_t fMidiCount;
uint32_t fWriterIndex;
Mutex fMutex;


+ 1
- 1
distrho/src/DistrhoPluginVST.cpp View File

@@ -173,7 +173,7 @@ public:
fQueue.send(midiData);
}

uint32_t receiveEditorMidi(MidiEvent *events, uint32_t eventCount)
uint32_t receiveEditorMidi(MidiEvent* events, uint32_t eventCount)
{
return fQueue.receive(events, eventCount);
}


+ 2
- 2
examples/SendNote/SendNoteExamplePlugin.cpp View File

@@ -141,8 +141,8 @@ protected:
}
}
float *outputLeft = outputs[0];
float *outputRight = outputs[1];
float* outputLeft = outputs[0];
float* outputRight = outputs[1];
std::memset(outputLeft, 0, frames * sizeof(float));


Loading…
Cancel
Save