root/branches/libffado-2.0/src/bebob/edirol/edirol_fa66.h

Revision 1198, 1.4 kB (checked in by wagi, 13 years ago)

Set clock source always to 'Device Controlled'. The FA-66 doesn't support
switching clock source by software.

It might be possible to read out the current setting though. This is
a open TODO.

Furthermore, re-enable device discovering. This fixes a previous checkin r1183.

Line 
1 /*
2  * Copyright (C) 2008 by Daniel Wagner
3  *
4  * This file is part of FFADO
5  * FFADO = Free Firewire (pro-)audio drivers for linux
6  *
7  * FFADO is based upon FreeBoB.
8  *
9  * This program is free software: you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation, either version 2 of the License, or
12  * (at your option) version 3 of the License.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
21  *
22  */
23
24 #ifndef BEBOB_EDIROL_FA66_H
25 #define BEBOB_EDIROL_FA66_H
26
27 #include "bebob/bebob_avdevice.h"
28
29 namespace BeBoB {
30 namespace Edirol {
31
32 class EdirolFa66Device : public BeBoB::AvDevice {
33 public:
34     EdirolFa66Device( DeviceManager& d,
35                        std::auto_ptr<ConfigRom>( configRom ));
36     virtual ~EdirolFa66Device();
37
38     virtual ClockSourceVector getSupportedClockSources();
39     virtual bool setActiveClockSource(ClockSource);
40     virtual ClockSource getActiveClockSource();
41
42     virtual void showDevice();
43
44 private:
45     ClockSource m_fixed_clocksource;
46 };
47
48 }
49 }
50
51 #endif
Note: See TracBrowser for help on using the browser.