Backed out changeset 7469a58a5f3d (bug 908669)

This commit is contained in:
Ed Morley 2013-09-17 17:14:23 +01:00
parent b9e4f4113e
commit a8fe3b72e1

View File

@ -150,6 +150,15 @@ cubeb_get_max_channel_count(cubeb * context, uint32_t * max_channels)
return context->ops->get_max_channel_count(context, max_channels);
}
int
cubeb_get_minimal_latency(cubeb * stream, uint32_t * latency_ms)
{
if (!latency_ms) {
return CUBEB_ERROR_INVALID_PARAMETER;
}
return context->ops->get_max_channel_count(context, latency_ms);
}
void
cubeb_destroy(cubeb * context)
{