зеркало из https://github.com/mozilla/gecko-dev.git
Bug 917246 - Make the tree compile with --enable-pulse. r=jesup
--HG-- extra : rebase_source : 83d648e4af08e27bc9b29a9450722c3d5d2278c7
This commit is contained in:
Родитель
5a14ffb7a4
Коммит
0d3b9c3113
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче