drumstick  1.0.0
dummyoutput.cpp
1 /*
2  Drumstick RT (realtime MIDI In/Out)
3  Copyright (C) 2009-2014 Pedro Lopez-Cabanillas <plcl@users.sf.net>
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License along
16  with this program; if not, write to the Free Software Foundation, Inc.,
17  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 */
19 
20 #include "dummyoutput.h"
21 
22 namespace drumstick {
23 namespace rt {
24 
25 void DummyOutput::initialize(QSettings* settings)
26 {
27  Q_UNUSED(settings)
28 }
29 
30 QString DummyOutput::backendName()
31 {
32  return QLatin1String("DUMMY");
33 }
34 
35 QString DummyOutput::publicName()
36 {
37  return QString();
38 }
39 
40 void DummyOutput::setPublicName(QString name)
41 {
42  Q_UNUSED(name)
43 }
44 
45 QStringList DummyOutput::connections(bool advanced)
46 {
47  Q_UNUSED(advanced)
48  return QStringList();
49 }
50 
51 void DummyOutput::setExcludedConnections(QStringList conns)
52 {
53  Q_UNUSED(conns)
54 }
55 
56 void DummyOutput::open(QString name)
57 {
58  Q_UNUSED(name)
59 }
60 
61 void DummyOutput::close()
62 {
63 }
64 
65 QString DummyOutput::currentConnection()
66 {
67  return QString();
68 }
69 
70 void DummyOutput::sendNoteOff(int chan, int note, int vel)
71 {
72  Q_UNUSED(chan)
73  Q_UNUSED(note)
74  Q_UNUSED(vel)
75 }
76 
77 void DummyOutput::sendNoteOn(int chan, int note, int vel)
78 {
79  Q_UNUSED(chan)
80  Q_UNUSED(note)
81  Q_UNUSED(vel)
82 }
83 
84 void DummyOutput::sendKeyPressure(int chan, int note, int value)
85 {
86  Q_UNUSED(chan)
87  Q_UNUSED(note)
88  Q_UNUSED(value)
89 }
90 
91 void DummyOutput::sendController(int chan, int control, int value)
92 {
93  Q_UNUSED(chan)
94  Q_UNUSED(control)
95  Q_UNUSED(value)
96 }
97 
98 void DummyOutput::sendProgram(int chan, int program)
99 {
100  Q_UNUSED(chan)
101  Q_UNUSED(program)
102 }
103 
104 void DummyOutput::sendChannelPressure(int chan, int value)
105 {
106  Q_UNUSED(chan)
107  Q_UNUSED(value)
108 }
109 
110 void DummyOutput::sendPitchBend(int chan, int value)
111 {
112  Q_UNUSED(chan)
113  Q_UNUSED(value)
114 }
115 
116 void DummyOutput::sendSysex(const QByteArray &data)
117 {
118  Q_UNUSED(data)
119 }
120 
121 void DummyOutput::sendSystemMsg(const int status)
122 {
123  Q_UNUSED(status)
124 }
125 
126 
127 }}