root/trunk/libffado/src/bebob/yamaha/yamaha_avdevice.h

Revision 2802, 1.7 kB (checked in by jwoithe, 3 years ago)

Cosmetic: "Firewire" becomes "FireWire?".

Officially both the "F" and "W" were capitalised in the FireWire? name, so
reflect this throughout FFADO's source tree. This mostly affects comments.

This patch originated from pander on the ffado-devel mailing list. To
maintain consistency, the committed version has been expanded to include
files not originally included in the original patch.

Line 
1 /*
2  * Copyright (C) 2013      by Takashi Sakamoto
3  * Copyright (C) 2005-2008 by Daniel Wagner
4  * Copyright (C) 2005-2008 by Pieter Palmers
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 BEBOB_YAMAHA_DEVICE_H
27 #define BEBOB_YAMAHA_DEVICE_H
28
29 #include "debugmodule/debugmodule.h"
30 #include "bebob/bebob_avdevice.h"
31
32 namespace BeBoB {
33 namespace Yamaha {
34
35 class GoDevice : public BeBoB::Device {
36 public:
37     GoDevice( DeviceManager& d, ffado_smartptr<ConfigRom>( configRom ));
38     virtual ~GoDevice();
39
40     virtual void showDevice();
41
42     // override these since the go series does not support
43     // the usual clock source selection mechanism
44     virtual ClockSourceVector getSupportedClockSources();
45     virtual bool setActiveClockSource(ClockSource);
46     virtual ClockSource getActiveClockSource();
47
48 private:
49     bool updateClockSources();
50     ClockSource m_internal_clocksource;
51     ClockSource m_spdif_clocksource;
52     ClockSource *m_active_clocksource;
53 };
54
55 } // namespace Yamaha
56 } // namespace BeBoB
57
58 #endif
Note: See TracBrowser for help on using the browser.