Index: trunk/libffado/src/SConscript
===================================================================
--- trunk/libffado/src/SConscript (revision 1672)
+++ trunk/libffado/src/SConscript (revision 1712)
@@ -160,4 +160,5 @@
dice/dice_eap.cpp \
dice/focusrite/saffire_pro40.cpp \
+ dice/focusrite/saffire_pro24.cpp \
' )
Index: trunk/libffado/src/dice/focusrite/saffire_pro24.cpp
===================================================================
--- trunk/libffado/src/dice/focusrite/saffire_pro24.cpp (revision 1712)
+++ trunk/libffado/src/dice/focusrite/saffire_pro24.cpp (revision 1712)
@@ -0,0 +1,50 @@
+/*
+ * Copyright (C) 2009 by Pieter Palmers
+ * Copyright (C) 2009 by Arnold Krille
+ *
+ * This file is part of FFADO
+ * FFADO = Free Firewire (pro-)audio drivers for linux
+ *
+ * FFADO is based upon FreeBoB.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) version 3 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ *
+ */
+
+#include "saffire_pro24.h"
+
+namespace Dice {
+namespace Focusrite {
+
+SaffirePro24::SaffirePro24( DeviceManager& d,
+ std::auto_ptr( configRom ))
+ : Dice::Device( d , configRom)
+{
+ debugOutput( DEBUG_LEVEL_VERBOSE, "Created Dice::Focusrite::SaffirePro24 (NodeID %d)\n",
+ getConfigRom().getNodeId() );
+}
+
+SaffirePro24::~SaffirePro24()
+{
+}
+
+void
+SaffirePro24::showDevice()
+{
+ debugOutput(DEBUG_LEVEL_VERBOSE, "This is a Dice::Focusrite::SaffirePro24\n");
+ Dice::Device::showDevice();
+}
+
+}
+}
Index: trunk/libffado/src/dice/focusrite/saffire_pro24.h
===================================================================
--- trunk/libffado/src/dice/focusrite/saffire_pro24.h (revision 1712)
+++ trunk/libffado/src/dice/focusrite/saffire_pro24.h (revision 1712)
@@ -0,0 +1,49 @@
+/*
+ * Copyright (C) 2009 by Pieter Palmers
+ * Copyright (C) 2009 by Arnold Krille
+ *
+ * This file is part of FFADO
+ * FFADO = Free Firewire (pro-)audio drivers for linux
+ *
+ * FFADO is based upon FreeBoB.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) version 3 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see .
+ *
+ */
+
+#ifndef DICE_FOCUSRITE_SAFFIRE_PRO24_H
+#define DICE_FOCUSRITE_SAFFIRE_PRO24_H
+
+#include "dice/dice_avdevice.h"
+
+#include "libieee1394/configrom.h"
+
+namespace Dice {
+namespace Focusrite {
+
+class SaffirePro24 : public Dice::Device {
+public:
+ SaffirePro24( DeviceManager& d,
+ std::auto_ptr( configRom ));
+ virtual ~SaffirePro24();
+
+ virtual void showDevice();
+
+private:
+};
+
+}
+}
+
+#endif
Index: trunk/libffado/src/dice/dice_avdevice.cpp
===================================================================
--- trunk/libffado/src/dice/dice_avdevice.cpp (revision 1630)
+++ trunk/libffado/src/dice/dice_avdevice.cpp (revision 1712)
@@ -47,4 +47,5 @@
#include "focusrite/saffire_pro40.h"
+#include "focusrite/saffire_pro24.h"
using namespace std;
@@ -127,4 +128,6 @@
case 0x00000005:
return new Focusrite::SaffirePro40(d, configRom);
+ case 0x00000007:
+ return new Focusrite::SaffirePro24(d, configRom);
default: // return a plain Dice device
return new Device(d, configRom);