root/trunk/libffado/src/dice/focusrite/saffire_pro40.h

Revision 1729, 1.3 kB (checked in by arnonym, 11 years ago)

This should enable nickname changes for the saffire pro40. ppalmers can you test this?
On the pro24 the changes work and are written to the application space. Only they don't seem to last over a power-cycle. Don't yet know why...

Line 
1 /*
2  * Copyright (C) 2009 by Pieter Palmers
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 DICE_FOCUSRITE_SAFFIRE_PRO40_H
25 #define DICE_FOCUSRITE_SAFFIRE_PRO40_H
26
27 #include "dice/dice_avdevice.h"
28
29 #include "libieee1394/configrom.h"
30
31 namespace Dice {
32 namespace Focusrite {
33
34 class SaffirePro40 : public Dice::Device {
35 public:
36     SaffirePro40( DeviceManager& d,
37                   std::auto_ptr<ConfigRom>( configRom ));
38     virtual ~SaffirePro40();
39
40     virtual void showDevice();
41
42     bool canChangeNickname() { return true; }
43     bool setNickName(std::string);
44     std::string getNickName();
45
46 private:
47 };
48
49 }
50 }
51
52 #endif
53 // vim: et
Note: See TracBrowser for help on using the browser.