diff options
author | Be <be@mixxx.org> | 2020-12-07 21:08:48 -0600 |
---|---|---|
committer | Be <be@mixxx.org> | 2020-12-07 21:08:48 -0600 |
commit | 3085bbe95107fd789a8a966dfeb341cfe74cfad8 (patch) | |
tree | 7aac36fca1cce483218b3f06435d218283f156e3 /src/controllers/midi/portmidicontroller.h | |
parent | 7d82224170a6e9b9a9242b65c2ccb82ba749949a (diff) |
merge 2.3
Diffstat (limited to 'src/controllers/midi/portmidicontroller.h')
-rw-r--r-- | src/controllers/midi/portmidicontroller.h | 30 |
1 files changed, 9 insertions, 21 deletions
diff --git a/src/controllers/midi/portmidicontroller.h b/src/controllers/midi/portmidicontroller.h index 45770edebd..25012eb1ac 100644 --- a/src/controllers/midi/portmidicontroller.h +++ b/src/controllers/midi/portmidicontroller.h @@ -1,21 +1,4 @@ -/** - * @file portmidicontroller.h - * @author Albert Santoni alberts@mixxx.org - * @author Sean M. Pappalardo spappalardo@mixxx.org - * @date Thu 15 Mar 2012 - * @brief PortMidi-based MIDI backend - * - * This class is represents a MIDI device, either physical or software. - * It uses the PortMidi API to send and receive MIDI messages to/from the device. - * It's important to note that PortMidi treats input and output on a single - * physical device as two separate half-duplex devices. In this class, we wrap - * those together into a single device, which is why the constructor takes - * both arguments pertaining to both input and output "devices". - * - */ - -#ifndef PORTMIDICONTROLLER_H -#define PORTMIDICONTROLLER_H +#pragma once #include <portmidi.h> @@ -55,7 +38,14 @@ // String to display for no MIDI devices present #define MIXXX_PORTMIDI_NO_DEVICE_STRING "None" -// A PortMidi-based implementation of MidiController +/// PortMidi-based implementation of MidiController +/// +/// This class is represents a MIDI device, either physical or software. +/// It uses the PortMidi API to send and receive MIDI messages to/from the device. +/// It's important to note that PortMidi treats input and output on a single +/// physical device as two separate half-duplex devices. In this class, we wrap +/// those together into a single device, which is why the constructor takes +/// both arguments pertaining to both input and output "devices". class PortMidiController : public MidiController { Q_OBJECT public: @@ -104,5 +94,3 @@ class PortMidiController : public MidiController { friend class PortMidiControllerTest; }; - -#endif |