Changeset 1273 for branches

Show
Ignore:
Timestamp:
07/06/08 05:17:59 (16 years ago)
Author:
ppalmers
Message:

timeout is not necessarily an error.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/libffado-2.0/src/libstreaming/StreamProcessorManager.cpp

    r1263 r1273  
    918918            case eAR_Timeout: 
    919919                debugWarning("Timeout while waiting for activity\n"); 
    920                 #ifdef DEBUG 
    921                 setVerboseLevel(DEBUG_LEVEL_ULTRA_VERBOSE); 
    922                 m_parent.setVerboseLevel(DEBUG_LEVEL_ULTRA_VERBOSE); 
    923                 // sleep for a brief moment, such that we can see what is happening in the other threads 
    924                 SleepRelativeUsec(1000*100); 
    925                 #endif 
    926                 // this is a serious error since apparently there was not 
    927                 // enough activity. This means one of the streams died. 
    928                 m_shutdown_needed = true; 
    929                 return false; 
     920                // ignore this since it can also be due to some other hardware 
     921                // or high-prio software that preempts us. hence only an xrun should 
     922                // be generated (if necessary) 
    930923            case eAR_Activity: 
    931924                // do nothing