Hide get_pos() debug messages behind DEBUG_SYNC

This commit is contained in:
Julien BLACHE 2010-11-21 11:59:45 +01:00
parent 12daf7237e
commit c3e24a0d9a
1 changed files with 4 additions and 0 deletions

View File

@ -273,7 +273,9 @@ player_get_current_pos_clock(uint64_t *pos, struct timespec *ts, int commit)
pb_pos_stamp.tv_sec = ts->tv_sec;
pb_pos_stamp.tv_nsec = ts->tv_nsec;
#ifdef DEBUG_SYNC
DPRINTF(E_DBG, L_PLAYER, "Pos: %" PRIu64 " (clock)\n", *pos);
#endif
}
return 0;
@ -301,7 +303,9 @@ player_get_current_pos_laudio(uint64_t *pos, struct timespec *ts, int commit)
pb_pos_stamp.tv_sec = ts->tv_sec;
pb_pos_stamp.tv_nsec = ts->tv_nsec;
#ifdef DEBUG_SYNC
DPRINTF(E_DBG, L_PLAYER, "Pos: %" PRIu64 " (laudio)\n", *pos);
#endif
}
return 0;