Changeset 2186 for trunk/libffado/src/libieee1394
- Timestamp:
- 07/17/12 05:57:11 (12 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libffado/src/libieee1394/ieee1394service.cpp
r2177 r2186 351 351 // might be available. 352 352 if (raw1394_read_cycle_timer_and_clock != NULL) { 353 err = raw1394_read_cycle_timer_and_clock(m_util_handle, &cycle_timer, &local_time, CLOCK_MONOTONIC _RAW);354 if (!err && Util::SystemTimeSource::setSource(CLOCK_MONOTONIC _RAW)==true)353 err = raw1394_read_cycle_timer_and_clock(m_util_handle, &cycle_timer, &local_time, CLOCK_MONOTONIC); 354 if (!err && Util::SystemTimeSource::setSource(CLOCK_MONOTONIC)==true) 355 355 m_have_read_ctr_and_clock = true; 356 356 } … … 358 358 if (m_have_read_ctr_and_clock) { 359 359 debugOutput(DEBUG_LEVEL_VERBOSE, "This system supports the raw1394_read_cycle_timer_and_clock call and the\n"); 360 debugOutput(DEBUG_LEVEL_VERBOSE, "CLOCK_MONOTONIC _RAWclock source; using them.\n");360 debugOutput(DEBUG_LEVEL_VERBOSE, "CLOCK_MONOTONIC clock source; using them.\n"); 361 361 } else { 362 362 debugOutput(DEBUG_LEVEL_VERBOSE, "This system supports the raw1394_read_cycle_timer call, using it.\n"); 363 debugOutput(DEBUG_LEVEL_NORMAL, "The raw1394_read_cycle_timer_and_clock call and/or the CLOCK_MONOTONIC _RAW\n");363 debugOutput(DEBUG_LEVEL_NORMAL, "The raw1394_read_cycle_timer_and_clock call and/or the CLOCK_MONOTONIC\n"); 364 364 debugOutput(DEBUG_LEVEL_NORMAL, "clock source is not available.\n"); 365 365 debugOutput(DEBUG_LEVEL_NORMAL, "Fallback to raw1394_read_cycle_timer.\n");