add some params to control rate and channels

This commit is contained in:
Anthony Minessale committed 2017-08-11 13:23:15 -05:00
1 parent d3937624c4
commit fd3b25d282
3 files changed
+26 -4

No files matched your search

+1 -1
View File
@@ -123,7 +123,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_perform_file_open(const char *file,
if ((val = switch_event_get_header(fh->params, "samplerate"))) {
tmp = atoi(val);
if (tmp > 8000) {
if (tmp >= 8000) {
fh->mm.samplerate = tmp;
}
}