Changeset 1341

Show
Ignore:
Timestamp:
02/15/08 06:43:43 (10 months ago)
Author:
rossb
Message:

Fixed ticket #3. removed code which zeroed timeInfo->currentTime in the buffer processor.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • portaudio/branches/v19-devel/src/common/pa_process.c

    r1097 r1341  
    5757    @todo Consider cache tilings for intereave<->deinterleave. 
    5858 
    59     @todo implement timeInfo->currentTime int PaUtil_BeginBufferProcessing() 
    60  
    6159    @todo specify and implement some kind of logical policy for handling the 
    6260        underflow and overflow stream flags when the underflow/overflow overlaps 
     
    684682    bp->timeInfo->inputBufferAdcTime -= bp->framesInTempInputBuffer * bp->samplePeriod; 
    685683     
    686     bp->timeInfo->currentTime = 0; /** FIXME: @todo time info currentTime not implemented */ 
     684    /* We just pass through timeInfo->currentTime provided by the caller. This is 
     685        not strictly conformant to the word of the spec, since the buffer processor  
     686        might call the callback multiple times, and we never refresh currentTime. */ 
    687687 
    688688    /* the first streamCallback will be called to generate samples which will be