Skip to content

Commit d651ac3

Browse files
committed
FIrst midi2 support
1 parent 6f874d1 commit d651ac3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1788
-335
lines changed

modules/yup_audio_basics/midi/ump/yup_UMP.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,3 @@
5151
#include "yup_UMPConverters.h"
5252
#include "yup_UMPDispatcher.h"
5353
#include "yup_UMPReceiver.h"
54-
55-
#ifndef DOXYGEN
56-
57-
namespace yup
58-
{
59-
namespace ump = universal_midi_packets;
60-
} // namespace yup
61-
62-
#endif

modules/yup_audio_basics/midi/ump/yup_UMPBytesOnGroup.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
==============================================================================
3838
*/
3939

40-
namespace yup::universal_midi_packets
40+
namespace yup::ump
4141
{
4242

4343
/**
@@ -52,4 +52,4 @@ struct BytesOnGroup
5252
Span<const std::byte> bytes;
5353
};
5454

55-
} // namespace yup::universal_midi_packets
55+
} // namespace yup::ump

modules/yup_audio_basics/midi/ump/yup_UMPConversion.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
#ifndef DOXYGEN
4141

42-
namespace yup::universal_midi_packets
42+
namespace yup::ump
4343
{
4444

4545
/** Represents a MIDI message that happened at a particular time.
@@ -372,6 +372,6 @@ struct Conversion
372372
}
373373
};
374374

375-
} // namespace yup::universal_midi_packets
375+
} // namespace yup::ump
376376

377377
#endif

modules/yup_audio_basics/midi/ump/yup_UMPConverters.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
#ifndef DOXYGEN
4141

42-
namespace yup::universal_midi_packets
42+
namespace yup::ump
4343
{
4444
/**
4545
Allows conversion from bytestream- or Universal MIDI Packet-formatted
@@ -201,6 +201,6 @@ struct ToBytestreamConverter
201201

202202
Midi1ToBytestreamTranslator translator;
203203
};
204-
} // namespace yup::universal_midi_packets
204+
} // namespace yup::ump
205205

206206
#endif

modules/yup_audio_basics/midi/ump/yup_UMPDeviceInfo.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
==============================================================================
3838
*/
3939

40-
namespace yup::universal_midi_packets
40+
namespace yup::ump
4141
{
4242

4343
/**
@@ -73,4 +73,4 @@ struct DeviceInfo
7373
}
7474
};
7575

76-
} // namespace yup::universal_midi_packets
76+
} // namespace yup::ump

modules/yup_audio_basics/midi/ump/yup_UMPDispatcher.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
#ifndef DOXYGEN
4141

42-
namespace yup::universal_midi_packets
42+
namespace yup::ump
4343
{
4444

4545
/**
@@ -209,6 +209,6 @@ class ToBytestreamDispatcher
209209
ToBytestreamConverter converter;
210210
};
211211

212-
} // namespace yup::universal_midi_packets
212+
} // namespace yup::ump
213213

214214
#endif

modules/yup_audio_basics/midi/ump/yup_UMPFactory.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
#ifndef DOXYGEN
4141

42-
namespace yup::universal_midi_packets
42+
namespace yup::ump
4343
{
4444

4545
/**
@@ -434,6 +434,6 @@ struct Factory
434434
}
435435
};
436436

437-
} // namespace yup::universal_midi_packets
437+
} // namespace yup::ump
438438

439439
#endif

modules/yup_audio_basics/midi/ump/yup_UMPIterator.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
==============================================================================
3838
*/
3939

40-
namespace yup::universal_midi_packets
40+
namespace yup::ump
4141
{
4242

4343
Iterator::Iterator (const uint32_t* ptr, [[maybe_unused]] size_t bytes) noexcept
@@ -48,4 +48,4 @@ Iterator::Iterator (const uint32_t* ptr, [[maybe_unused]] size_t bytes) noexcept
4848
{
4949
}
5050

51-
} // namespace yup::universal_midi_packets
51+
} // namespace yup::ump

modules/yup_audio_basics/midi/ump/yup_UMPIterator.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
#ifndef DOXYGEN
4141

42-
namespace yup::universal_midi_packets
42+
namespace yup::ump
4343
{
4444

4545
/**
@@ -132,6 +132,6 @@ class YUP_API Iterator
132132
#endif
133133
};
134134

135-
} // namespace yup::universal_midi_packets
135+
} // namespace yup::ump
136136

137137
#endif

0 commit comments

Comments
 (0)