mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
Backed out changeset 7469a58a5f3d (bug 908669)
This commit is contained in:
parent
b9e4f4113e
commit
a8fe3b72e1
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user