BeBoB: add Firebox/Inspire1394 namespace under PreSonus namespace
[ffado.git] / libffado / src / bebob / presonus / firebox_avdevice.h
blob0046b28d92328e089d79063bd1e670b802f95dcb
1 /*
2 * Copyright (C) 2013 by Takashi Sakamoto
3 * Copyright (C) 2005-2008 by Daniel Wagner
4 * Copyright (C) 2005-2008 by Pieter Palmers
6 * This file is part of FFADO
7 * FFADO = Free Firewire (pro-)audio drivers for linux
9 * FFADO is based upon FreeBoB.
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.
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.
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/>.
26 #ifndef BEBOB_PRESONUS_DEVICE_H
27 #define BEBOB_PRESONUS_DEVICE_H
29 #include "debugmodule/debugmodule.h"
30 #include "bebob/bebob_avdevice.h"
32 namespace BeBoB {
33 namespace Presonus {
34 namespace Firebox {
36 class Device : public BeBoB::Device {
37 public:
38 Device( DeviceManager& d, std::auto_ptr<ConfigRom>( configRom ));
39 virtual ~Device();
41 virtual void showDevice();
43 virtual ClockSourceVector getSupportedClockSources();
44 virtual bool setActiveClockSource(ClockSource);
45 virtual ClockSource getActiveClockSource();
47 private:
48 enum FFADODevice::eClockSourceType getClkSrc();
49 ClockSource m_intl_clksrc;
50 ClockSource m_spdif_clksrc;
51 ClockSource *m_active_clksrc;
54 } // namespace Firebox
55 } // namespace Presonus
56 } // namespace BeBoB
58 #endif