Show
Ignore:
Timestamp:
02/16/07 02:35:25 (16 years ago)
Author:
pieterpalmers
Message:

debugmodule.cpp:
- removed path from the source file name when printing debug messages

IsoStream?.cpp, StreamProcessor?.cpp:
- debug message modifications

StreamProcessorManager?.cpp:
- removed obsolete debug code

AmdtpStreamProcessor?.cpp:
- debug message modifications
- removed DLL that calculates framerate, as it is also calculated in the

TimestampedBuffer?

- converted code to use the new offset feature of the TimestampedBuffer?
- converted code to use the new frame timestamp calculation feature

of the TimestampedBuffer?

- first try at xmit sync code (unfinished)
- fixed 'unable to start' bug in receive SP

bebob_avdevice.cpp:
- added some #ifdef code to test with xmit SP's only (temporary)

TimestampedBuffer?.cpp:
- add offset feature
- add abitrary frame timestamp calculation

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/streaming-rework/src/libutil/TimestampedBuffer.h

    r392 r395  
    112112     
    113113    void setBufferTailTimestamp(uint64_t new_timestamp); 
    114     
     114     
     115    uint64_t getTimestampFromTail(int nframes); 
     116    uint64_t getTimestampFromHead(int nframes); 
     117     
     118    // buffer offset stuff 
     119    /// return the tick offset value 
     120    signed int getTickOffset() {return m_tick_offset;}; 
     121     
     122    bool setFrameOffset(int nframes); 
     123    bool setTickOffset(int nframes); 
     124     
    115125    // dll stuff 
    116126    bool setNominalRate(float r); 
     
    149159    signed int m_framecounter; 
    150160     
     161    // the offset that define the timing of the buffer 
     162    signed int m_tick_offset; 
     163     
    151164    // the buffer tail timestamp gives the timestamp of the last frame 
    152165    // that was put into the buffer 
     
    154167    uint64_t   m_buffer_next_tail_timestamp; 
    155168     
    156     // the buffer head timestamp gives the timestamp of the first frame 
    157     // that was put into the buffer 
    158 //     uint64_t   m_buffer_head_timestamp; 
    159169    // this mutex protects the access to the framecounter 
    160170    // and the buffer head timestamp.