Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/code-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ jobs:
uses: jidicula/clang-format-action@v4.11.0
with:
clang-format-version: '21'
check-path: ${{ matrix.path }}
check-path: ${{ matrix.path }}
# The action's default regex only matches extensions starting with c/C
# or h/H, so Objective-C(++) went unchecked. This is that default plus
# mm and m.
include-regex: '^.*\.((((c|C)(c|pp|xx|\+\+)?$)|((h|H)h?(pp|xx|\+\+)?$))|(ino|pde|proto|cu|mm|m))$'
18 changes: 9 additions & 9 deletions src/detail/auv3/process.mm
Original file line number Diff line number Diff line change
Expand Up @@ -912,15 +912,15 @@ inline clap_sectime doubleToSecTime(double t)
{
if (__builtin_available(macOS 12.0, iOS 15.0, *))
{
ClapWrapper::detail::shared::packSysEx7(
evt.sysex.buffer, evt.sysex.size,
[&](uint32_t w0, uint32_t w1)
{
if (!umpCur) return;
uint32_t words[2] = {w0, w1};
umpCur =
MIDIEventListAdd(umpList, sizeof(umpBuffer), umpCur, (MIDITimeStamp)off, 2, words);
});
ClapWrapper::detail::shared::packSysEx7(evt.sysex.buffer, evt.sysex.size,
[&](uint32_t w0, uint32_t w1)
{
if (!umpCur) return;
uint32_t words[2] = {w0, w1};
umpCur = MIDIEventListAdd(
umpList, sizeof(umpBuffer), umpCur,
(MIDITimeStamp)off, 2, words);
});
}
}
else if (midiOutputEventBlock)
Expand Down
Loading