mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Bug 917246 - Make the tree compile with --enable-pulse. r=jesup
--HG-- extra : rebase_source : 9496c74dcc81cef40cf6e0f49b47c9c6c06a52d4
This commit is contained in:
parent
e562fc4cfa
commit
1165a8cfdd
@ -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