Add getProcessSizeLimit to C API as well

This commit is contained in:
Chris Cannam
2023-07-25 13:31:28 +01:00
parent c69c3b7473
commit 6a41d2b902
2 changed files with 9 additions and 2 deletions

View File

@@ -143,6 +143,11 @@ void rubberband_set_max_process_size(RubberBandState state, unsigned int samples
state->m_s->setMaxProcessSize(samples);
}
unsigned int rubberband_get_process_size_limit(RubberBandState state)
{
return state->m_s->getProcessSizeLimit();
}
void rubberband_set_key_frame_map(RubberBandState state, unsigned int keyframecount, unsigned int *from, unsigned int *to)
{
std::map<size_t, size_t> kfm;