[Freeswitch-users] uuid_fileman seek ms

Anthony Minessale anthony.minessale at gmail.com
Fri Mar 29 19:16:53 MSK 2013


its supposed to be MS. we can look at the sample rate issue.


On Fri, Mar 29, 2013 at 8:39 AM, Tamas.Cseke <cstomi.levlist at gmail.com>wrote:

>  Hello,
>
> I'd like to seek a playback by ms.
>
> http://wiki.freeswitch.org/wiki/Mod_commands
>
>
>    - seek:<+[samples]>|<-[samples]>
>
> "Samples are the literally the number of samples in the file to jump
> forward or backward. In an 8kHz file, 8000 samples would represent one
> second, in a 16kHz file 16000 samples would be one second, etc."
> switch_ivr.c
> samps = step * (codec->implementation->samples_per_second / 1000);
>
> wiki says it is done by samples, but I checked the code
> and I think its in ms.
>
> Is it a documentation bug?
> I also don't understand why the codec sample rate is used
> It is not a problem, if the file sample rate is different?
>
>
> I'd like to make a seek in conference (
> http://jira.freeswitch.org/browse/FS-5211)
> I used the conference sample rate there, but I think its not correct
> only if the file rate matches the conference rate
> Could you please explain me how it should work?
>
> Thanks in advance,
> Tamas Cseke
>
>
>
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130329/df71a705/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list