Although its useful information.  It will work fine, but requires more cpu resources than if you were playing files that already matched the rate.

On Nov 12, 2014, at 4:45 PM, Brian West <brian@freeswitch.org> wrote:

Its a debug line, not a warning.

src/switch_core_file.c:         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);

You can ignore it, its informational only.


On Wed, Nov 12, 2014 at 11:27 AM, Oleg Stolyar <olegstolyar@gmail.com> wrote:
This might be the easiest question ever asked on this list.

I am playing wav files with sample rate 48000 as music on hold for a conference with sample rate 8000.  I am getting this warning in the logs:

switch_core_file.c:211 File /usr/local/freeswitch/sounds/music/8000/music.wav sample rate 48000 doesn't match requested rate 8000

I can ignore it, right?  This will not create any actual problems?  I don't think it will even increase the CPU consumption but wanted to confirm.