- Timestamp:
- 06/19/06 18:46:29 (18 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/libfreebob-2.0/src/libstreaming/AmdtpStreamProcessor.cpp
r266 r268 1199 1199 // update the frame counter 1200 1200 incrementFrameCounter(nevents); 1201 if(m_framecounter> m_period) {1201 if(m_framecounter>(signed int)m_period) { 1202 1202 retval=RAW1394_ISO_DEFER; 1203 1203 debugOutput(DEBUG_LEVEL_VERY_VERBOSE,"defer!\n"); … … 1253 1253 // therefore we first check if this is ok 1254 1254 1255 if(m_framecounter > m_period) {1255 if(m_framecounter > (signed int)m_period) { 1256 1256 // we make this signed, because this can be < 0 1257 1257 unsigned int m_last_timestamp_ticks = CYCLE_COUNTER_TO_TICKS(m_last_timestamp); branches/libfreebob-2.0/src/libstreaming/MotuStreamProcessor.cpp
r267 r268 158 158 // keep this at the end, because otherwise the raw1394_loop_iterate functions inner loop 159 159 // keeps requesting packets, that are not nescessarily ready 160 if(m_framecounter> m_period) {160 if(m_framecounter>(signed int)m_period) { 161 161 retval=RAW1394_ISO_DEFER; 162 162 } … … 176 176 // this implementation just waits until there is one period of samples 177 177 // transmitted from the buffer 178 return (m_framecounter > m_period);178 return (m_framecounter > (signed int)m_period); 179 179 } 180 180 … … 743 743 // keep this at the end, because otherwise the raw1394_loop_iterate functions inner loop 744 744 // keeps requesting packets without going to the xmit handler, leading to xmit starvation 745 if(m_framecounter> m_period) {745 if(m_framecounter>(signed int)m_period) { 746 746 retval=RAW1394_ISO_DEFER; 747 747 } … … 764 764 // this implementation just waits until there is one period of samples 765 765 // received into the buffer 766 if(m_framecounter > m_period) {766 if(m_framecounter > (signed int)m_period) { 767 767 return true; 768 768 } branches/libfreebob-2.0/src/libstreaming/StreamProcessor.h
r265 r268 121 121 122 122 unsigned int m_xruns; 123 unsigned int m_framecounter;123 signed int m_framecounter; 124 124 125 125 unsigned int m_framerate;