Changeset 506 for trunk

Show
Ignore:
Timestamp:
07/28/07 06:20:25 (16 years ago)
Author:
ppalmers
Message:

compile fix for the slave stream sp

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libffado/src/libstreaming/AmdtpSlaveStreamProcessor.cpp

    r494 r506  
    125125    } 
    126126 
    127     uint64_t ts_head, fc; 
     127    uint64_t ts_head; 
     128    int fc; 
    128129    if (!m_disabled && m_is_disabled) { // this means that we are trying to enable 
    129130        // check if we are on or past the enable point 
     
    136137 
    137138            // initialize the buffer head & tail 
    138             m_SyncSource->m_data_buffer->getBufferHeadTimestamp(&ts_head, &fc); // thread safe 
     139            ffado_timestamp_t ts_head_tmp; 
     140            m_SyncSource->m_data_buffer->getBufferHeadTimestamp(&ts_head_tmp, &fc); // thread safe 
     141            ts_head=(uint64_t)ts_head_tmp; 
    139142 
    140143            // the number of cycles the sync source lags (> 0) 
     
    183186 
    184187    // the base timestamp is the one of the next sample in the buffer 
    185     m_data_buffer->getBufferHeadTimestamp(&ts_head, &fc); // thread safe 
     188    ffado_timestamp_t ts_head_tmp; 
     189    m_data_buffer->getBufferHeadTimestamp(&ts_head_tmp, &fc); // thread safe 
     190    ts_head=(uint64_t)ts_head_tmp; 
    186191 
    187192    // we send a packet some cycles in advance, to avoid the