[Freeswitch-users] Music on hold sample rate mismatch

Michael Jerris mike at jerris.com
Thu Nov 13 00:51:59 MSK 2014


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 at 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 at gmail.com <mailto:olegstolyar at 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141112/d8e1085c/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list