FS-10860: [core] Distorted music when playing it as local stream into a conference as hold music #resolve
This commit is contained in:
parent
2e66aceb14
commit
afde4b63bb
|
@ -57,6 +57,10 @@ SWITCH_DECLARE(switch_status_t) switch_core_perform_file_open(const char *file,
|
|||
}
|
||||
|
||||
fh->samples_in = 0;
|
||||
fh->samplerate = 0;
|
||||
fh->native_rate = 0;
|
||||
fh->channels = 0;
|
||||
fh->real_channels = 0;
|
||||
|
||||
if (!fh->samplerate) {
|
||||
if (!(fh->samplerate = rate)) {
|
||||
|
|
Loading…
Reference in New Issue