Bug 917246 - Make the tree compile with --enable-pulse. r=jesup

--HG--
extra : rebase_source : 9496c74dcc81cef40cf6e0f49b47c9c6c06a52d4
This commit is contained in:
Paul Adenot 2013-09-17 15:23:43 +02:00
parent e562fc4cfa
commit 1165a8cfdd

View File

@ -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;
}