Changeset 1029

Show
Ignore:
Timestamp:
04/25/08 08:09:56 (13 years ago)
Author:
ppalmers
Message:

compile fix

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/genericavc/avc_avdevice.cpp

    r1028 r1029  
    493493                                  inputPlug->getNrOfChannels()); 
    494494    } else { 
    495         p=new Streaming::AmdtpTransmitStreamProcessor(*this, 
     495        Streaming::AmdtpTransmitStreamProcessor * t; 
     496        t=new Streaming::AmdtpTransmitStreamProcessor(*this, 
    496497                                inputPlug->getNrOfChannels()); 
     498        #if AMDTP_ALLOW_PAYLOAD_IN_NODATA_XMIT 
     499            // FIXME: it seems that some BeBoB devices can't handle NO-DATA without payload 
     500            t->sendPayloadForNoDataPackets(true); 
     501        #endif 
     502        p=t; 
    497503    } 
    498504 
     
    520526        } 
    521527    } 
    522  
    523 #if AMDTP_ALLOW_PAYLOAD_IN_NODATA_XMIT 
    524     // FIXME: it seems that some BeBoB devices can't handle NO-DATA without payload 
    525     p->sendPayloadForNoDataPackets(true); 
    526 #endif 
    527528 
    528529    // we put this SP into the transmit SP vector,