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

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