<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
I'd like to seek a playback by ms.<br>
<br>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org/wiki/Mod_commands">http://wiki.freeswitch.org/wiki/Mod_commands</a><br>
<br>
<ul>
<li> seek:<+[samples]>|<-[samples]>
</li>
</ul>
<p>"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."
</p>
switch_ivr.c<br>
samps = step * (codec->implementation->samples_per_second /
1000);<br>
<br>
wiki says it is done by samples, but I checked the code<br>
and I think its in ms.<br>
<br>
Is it a documentation bug?<br>
I also don't understand why the codec sample rate is used<br>
It is not a problem, if the file sample rate is different?<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<br>
I'd like to make a seek in conference (<a
href="http://jira.freeswitch.org/browse/FS-5211">http://jira.freeswitch.org/browse/FS-5211</a>)<br>
I used the conference sample rate there, but I think its not correct<br>
only if the file rate matches the conference rate<br>
Could you please explain me how it should work?<br>
<br>
Thanks in advance,<br>
Tamas Cseke<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>