root/trunk/libffado/src/dice/presonus/firestudio_mobile.h

Revision 2803, 1.9 kB (checked in by jwoithe, 3 years ago)

Cosmetic: capitalise "L" in "Linux".

"Linux" is a proper noun so it should start with a capital letter. These
changes are almost all within comments.

This patch was originally proposed by pander on the ffado-devel mailing
list. It has been expanded to cover all similar cases to maintain
consistency throughout the source tree.

Line 
1 /*
2  * Copyright (C) 2009 by Pieter Palmers
3  * Copyright (C) 2012 by Philippe Carriere
4  * Copyright (C) 2014 by Philippe Carriere
5  *
6  * This file is part of FFADO
7  * FFADO = Free FireWire (pro-)audio drivers for Linux
8  *
9  * FFADO is based upon FreeBoB.
10  *
11  * This program is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation, either version 2 of the License, or
14  * (at your option) version 3 of the License.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
23  *
24  */
25
26 #ifndef DICE_PRESONUS_FIRESTUDIO_MOBILE_H
27 #define DICE_PRESONUS_FIRESTUDIO_MOBILE_H
28
29 #include "dice/dice_avdevice.h"
30 #include "dice/dice_eap.h"
31
32 #include "libieee1394/configrom.h"
33
34 namespace Dice {
35 namespace Presonus {
36
37 class FirestudioMobile : public Dice::Device {
38 public:
39     FirestudioMobile( DeviceManager& d,
40                   ffado_smartptr<ConfigRom>( configRom ));
41     virtual ~FirestudioMobile();
42
43     bool discover();
44
45     virtual void showDevice();
46
47     bool canChangeNickname() { return false; }
48
49 private:
50     class FirestudioMobileEAP : public Dice::EAP
51     {
52     public:
53         FirestudioMobileEAP(Dice::Device& dev) : Dice::EAP(dev) {
54         }
55
56         void setupSources_low();
57         void setupDestinations_low();
58         void setupSources_mid();
59         void setupDestinations_mid();
60         void setupSources_high();
61         void setupDestinations_high();
62         void setupDefaultRouterConfig_low();
63         void setupDefaultRouterConfig_mid();
64         void setupDefaultRouterConfig_high();
65
66     };
67     Dice::EAP* createEAP();
68 };
69
70 }
71 }
72
73 #endif
74 // vim: et
Note: See TracBrowser for help on using the browser.