Changeset 1484

Show
Ignore:
Timestamp:
11/24/08 15:07:06 (12 years ago)
Author:
jwoithe
Message:

MOTU: enable all ports at creation. Currently the MOTU code only creates ports if they are needed based on device configuration so it makes no sense to leave them in their default (disabled) state. CAUTION: this needs testing to ensure it doesn't break any fundamental assumptions of the lower level FFADO code.

Files:

Legend:

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

    r1426 r1484  
    16501650    if (!p) { 
    16511651        debugOutput(DEBUG_LEVEL_VERBOSE, "Skipped port %s\n",name); 
     1652    } else { 
     1653        /* All ports created are enabled, more or less by definition.  If 
     1654         * we don't need a port due to sample rate or device configuration 
     1655         * we don't currently create it.  This may change. 
     1656         */ 
     1657        p->enable(); 
    16521658    } 
    16531659    free(name);