mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 06:34:19 +00:00
add some params to control rate and channels
This commit is contained in:
1 parent
d3937624c4
commit
fd3b25d282
3 files changed
+26
-4
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user