mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-06-02 10:01:57 +00:00
Allow sample rates down to 8 kHz (fixup)
This commit is contained in:
parent
eafe95f808
commit
2180d58ade
1 changed files with 1 additions and 1 deletions
|
@ -2131,7 +2131,7 @@ fluid_synth_set_sample_rate(fluid_synth_t* synth, float sample_rate)
|
|||
int i;
|
||||
fluid_return_if_fail (synth != NULL);
|
||||
fluid_synth_api_enter(synth);
|
||||
fluid_clip (sample_rate, 22500.0f, 96000.0f);
|
||||
fluid_clip (sample_rate, 8000.0f, 96000.0f);
|
||||
synth->sample_rate = sample_rate;
|
||||
|
||||
fluid_settings_getint(synth->settings, "synth.min-note-length", &i);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue