| 358 | } |
| 359 | |
| 360 | const char* SRTClockTypeStr() |
| 361 | { |
| 362 | const int clock_type = srt_clock_type(); |
| 363 | |
| 364 | switch (clock_type) |
| 365 | { |
| 366 | case SRT_SYNC_CLOCK_STDCXX_STEADY: |
| 367 | return "CXX11_STEADY"; |
| 368 | case SRT_SYNC_CLOCK_GETTIME_MONOTONIC: |
| 369 | return "GETTIME_MONOTONIC"; |
| 370 | case SRT_SYNC_CLOCK_WINQPC: |
| 371 | return "WIN_QPC"; |
| 372 | case SRT_SYNC_CLOCK_MACH_ABSTIME: |
| 373 | return "MACH_ABSTIME"; |
| 374 | case SRT_SYNC_CLOCK_POSIX_GETTIMEOFDAY: |
| 375 | return "POSIX_GETTIMEOFDAY"; |
| 376 | default: |
| 377 | break; |
| 378 | } |
| 379 | |
| 380 | return "UNKNOWN VALUE"; |
| 381 | } |
| 382 | |
| 383 | void PrintLibVersion() |
| 384 | { |
no test coverage detected