Changeset 1745

Show
Ignore:
Timestamp:
12/04/09 02:44:43 (11 years ago)
Author:
jwoithe
Message:

MOTU:
* add basic infrastructure to support streaming on the 828Mk1 once we understand how to control it.
* don't attempt to start streaming on the 828Mk1 since we don't know how to: the existing methods aren't applicable.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/libffado-2.0/src/motu/motu_avdevice.cpp

    r1743 r1745  
    10811081quadlet_t isoctrl = ReadRegister(MOTU_REG_ISOCTRL); 
    10821082 
     1083    if (m_motu_model == MOTU_MODEL_828MkI) { 
     1084        // The 828MkI device does this differently. 
     1085        // To be implemented 
     1086        return false; 
     1087    } 
     1088 
    10831089    // NOTE: this assumes that you have two streams 
    10841090    switch (i) { 
     
    11321138    // TODO: connection management: break connection 
    11331139    // cfr the start function 
     1140 
     1141    if (m_motu_model == MOTU_MODEL_828MkI) { 
     1142        // The 828MkI device does this differently. 
     1143        // To be implemented 
     1144        return false; 
     1145    } 
    11341146 
    11351147    // NOTE: this assumes that you have two streams 
  • branches/libffado-2.0/src/motu/motu_avdevice.h

    r1743 r1745  
    9292/* Device register definitions for the earliest generation devices */ 
    9393#define MOTU_G1_REG_CONFIG         0x0b00 
     94#define MOTU_G1_REG_ISOCTRL        0x0b10 
    9495 
    9596/* There's an unknown subtlety regarding the optical mode of the "generation