Commit c32e21fc authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

wasapi: fix typo screwing up synchro

parent ff89ff37
......@@ -162,7 +162,7 @@ static int TimeGet(audio_output_t *aout, mtime_t *restrict pts)
mtime_t delay = ((GetQPC() - qpcpos) / (10000000 / CLOCK_FREQ));
static_assert((10000000 % CLOCK_FREQ) == 0, "Frequency conversion broken");
*pts += mdate() + delay;
*pts = mdate() + delay;
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment