mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
alsa: Reduce jitter in irq based software timestamping
We would timestamp within an unlikely block, which would introduce additional jitter to current_time, which would have an impact on the performance of the timer sensitive code.
This commit is contained in:
parent
a9c0eb993e
commit
8608c03b76
1 changed files with 1 additions and 1 deletions
|
|
@ -3187,7 +3187,7 @@ static void alsa_wakeup_event(struct spa_source *source)
|
|||
uint64_t expire, current_time;
|
||||
int res, suppressed;
|
||||
|
||||
if (SPA_UNLIKELY(state->disable_tsched)) {
|
||||
if (state->disable_tsched) {
|
||||
/* ALSA poll fds need to be "demangled" to know whether it's a real wakeup */
|
||||
int err;
|
||||
unsigned short revents;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue