mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-09 09:17:34 +00:00
downgrade log message to debug and add more details
This commit is contained in:
parent
646a5609a1
commit
28046a89de
@ -173,7 +173,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_perform_file_open(const char *file,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (fh->samplerate && rate && fh->samplerate != rate) {
|
if (fh->samplerate && rate && fh->samplerate != rate) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Sample rate doesn't match\n");
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "File %s sample rate %d doesn't match requested rate %d\n", file_path, fh->samplerate, rate);
|
||||||
if ((flags & SWITCH_FILE_FLAG_READ)) {
|
if ((flags & SWITCH_FILE_FLAG_READ)) {
|
||||||
fh->samplerate = rate;
|
fh->samplerate = rate;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user