Changeset 1515
- Timestamp:
- 02/11/09 03:41:24 (15 years ago)
- Files:
-
- trunk/libffado/src/dice/dice_avdevice.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/src/dice/dice_avdevice.cpp
r1514 r1515 56 56 {FW_VENDORID_TCAT, 0x00000023, "TC Electronic", "Konnekt Live"}, 57 57 {FW_VENDORID_ALESIS, 0x00000001, "Alesis", "io|14"}, 58 {FW_VENDORID_ALESIS, 0x00000000, "Alesis", "Multimix16 Firewire"}, 58 59 {FW_VENDORID_PRESONUS, 0x0000000b, "Presonus", "Firestudio Project"}, 59 60 {FW_VENDORID_FOCUSRITE, 0x00000005, "Focusrite", "Saffire PRO 40"}, … … 792 793 793 794 /* Vendor-specific hacks */ 794 795 /* Alesis io14 RX0 claims to have six audio channels. Ignore it, just 796 * use 8 for Bus1-L+R .. Bus4-L+R. 797 */ 798 if ((FW_VENDORID_ALESIS == getConfigRom().getNodeVendorId()) && 799 (0x00000001 == getConfigRom().getModelId())) { 800 nb_audio=8; 795 if (FW_VENDORID_ALESIS == getConfigRom().getNodeVendorId()) { 796 /* Alesis io14 RX0 claims to have six audio channels. Ignore 797 * it, just use 8 for Bus1-L+R .. Bus4-L+R. 798 */ 799 if (0x00000001 == getConfigRom().getModelId()) { 800 nb_audio = 8; 801 } 802 803 /* Alesis Multimix16 RX0 only has two channels, Main-Out L+R */ 804 if (0x00000000 == getConfigRom().getModelId()) { 805 nb_audio = 2; 806 } 801 807 } 802 808 … … 1468 1474 1469 1475 // FIXME: verify this and clean it up. 1470 /* special case for io14, which announces two receive transmitters,1471 * but only has one 1476 /* special case for Alesis io14, which announces two receive transmitters, 1477 * but only has one. Same is true for Alesis Multimix16. 1472 1478 */ 1473 if ((FW_VENDORID_ALESIS == getConfigRom().getNodeVendorId()) && 1474 (0x00000001 == getConfigRom().getModelId())) { 1475 m_nb_rx = 1; 1479 if (FW_VENDORID_ALESIS == getConfigRom().getNodeVendorId()) { 1480 /* we may want to use a switch-case-statement some day... */ 1481 if ((0x00000001 == getConfigRom().getModelId()) || 1482 (0x00000000 == getConfigRom().getModelId())) { 1483 m_nb_rx = 1; 1484 } 1476 1485 } 1477 1486