From 0d3b9c311329585c73bef6ba1c9a6dc55c8ab3f8 Mon Sep 17 00:00:00 2001 From: Paul Adenot Date: Tue, 17 Sep 2013 15:23:43 +0200 Subject: [PATCH] Bug 917246 - Make the tree compile with --enable-pulse. r=jesup --HG-- extra : rebase_source : 83d648e4af08e27bc9b29a9450722c3d5d2278c7 --- media/libcubeb/src/cubeb_pulse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/libcubeb/src/cubeb_pulse.c b/media/libcubeb/src/cubeb_pulse.c index 94c068e1f7f9..918651e6d3a2 100644 --- a/media/libcubeb/src/cubeb_pulse.c +++ b/media/libcubeb/src/cubeb_pulse.c @@ -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; }