mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 917246 - Make the tree compile with --enable-pulse. r=jesup
--HG-- extra : rebase_source : 83d648e4af08e27bc9b29a9450722c3d5d2278c7
This commit is contained in:
parent
baff7ac80d
commit
703937d5ac
@ -584,7 +584,7 @@ pulse_stream_get_latency(cubeb_stream * stm, uint32_t * latency)
|
||||
return CUBEB_ERROR;
|
||||
}
|
||||
|
||||
*latency = (r_usec * stm->sample_spec.rate) / PR_NSEC_PER_SEC;
|
||||
*latency = r_usec * stm->sample_spec.rate / PA_USEC_PER_SEC;
|
||||
return CUBEB_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user