Show
Ignore:
Timestamp:
01/10/08 13:36:13 (16 years ago)
Author:
ppalmers
Message:

merge api-cleanup branch (R808:832) into trunk

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/bounce/bounce_avdevice.cpp

    r742 r833  
    212212        Streaming::Port *p=NULL; 
    213213        p=new Streaming::AmdtpAudioPort( 
     214                *processor, 
    214215                buff, 
    215216                direction, 
     
    224225        if (!p) { 
    225226            debugOutput(DEBUG_LEVEL_VERBOSE, "Skipped port %s\n",buff); 
    226         } else { 
    227  
    228             if (!processor->addPort(p)) { 
    229                 debugWarning("Could not register port with stream processor\n"); 
    230                 free(buff); 
    231                 return false; 
    232             } else { 
    233                 debugOutput(DEBUG_LEVEL_VERBOSE, "Added port %s\n",buff); 
    234             } 
    235227        } 
    236228        free(buff); 
     
    243235        Streaming::Port *p=NULL; 
    244236        p=new Streaming::AmdtpMidiPort( 
     237                *processor, 
    245238                buff, 
    246239                direction, 
     
    255248        if (!p) { 
    256249            debugOutput(DEBUG_LEVEL_VERBOSE, "Skipped port %s\n",buff); 
    257         } else { 
    258  
    259             if (!processor->addPort(p)) { 
    260                 debugWarning("Could not register port with stream processor\n"); 
    261                 free(buff); 
    262                 return false; 
    263             } else { 
    264                 debugOutput(DEBUG_LEVEL_VERBOSE, "Added port %s\n",buff); 
    265             } 
    266250        } 
    267251        free(buff);