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

--HG--
extra : rebase_source : 83d648e4af08e27bc9b29a9450722c3d5d2278c7
This commit is contained in:
Paul Adenot 2013-09-17 15:23:43 +02:00
parent baff7ac80d
commit 703937d5ac

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