Music on hold sample rate mismatch
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.
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.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- *Brian West* brian@freeswitch.org *Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
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 <mailto: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.
Thanks Michael! Can I assume that the CPU resource usage will still be trivial since it's a shared stream for all the people on hold? On Wed, Nov 12, 2014 at 1:51 PM, Michael Jerris <mike@jerris.com> wrote:
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.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thanks Brian. On Wed, Nov 12, 2014 at 1: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.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
--
*Brian West* brian@freeswitch.org
*Twitter: @FreeSWITCH , @briankwest* http://www.freeswitchbook.com http://www.freeswitchcookbook.com
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Brian West
-
Michael Jerris
-
Oleg Stolyar