It depends on other factors even, like sampling frequency. <br><br>To confirm  your data you can run <br><br>audiotestsrc num-buffers=150 ! fakesink -v<br><br>and observe the last timestamp. by seeing this timestamp you can calculate the num-buffers to adjust to 15 seconds.<br>
<br>Best Regards,<br>Praveen<br><br><div class="gmail_quote">2011/5/18 Andrea König <span dir="ltr">&lt;<a href="mailto:andrea.koenig@gmatic.de">andrea.koenig@gmatic.de</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi all,<br>
I want to create a sine wave audio signal of a defined length, e.g. 15s.<br>
The element audiotestsrc has the property num-buffers. If I set the<br>
property to a defined value the signal gets an EOS. Set the property to<br>
num-buffers=150 the signal has length of about 9s. Is this the right way<br>
to calculate the length of the signal by number of num-buffers or is<br>
there another possibility?<br>
<br>
--<br>
Best regards<br>
<br>
Andrea König<br>
(Development)<br>
<br>
<br>
G.punkt - medical services<br>
Ihre Wünsche sind unser Konzept<br>
Halberstädter Str. 115 A<br>
39112 Magdeburg<br>
<br>
fon: +49 391 280380<br>
fax: +49 391 2803822<br>
<br>
mail: <a href="mailto:Andrea.Koenig@gmatic.de" target="_blank">Andrea.Koenig@gmatic.de</a><br>
inet: <a href="http://www.gmatic.de" target="_blank">www.gmatic.de</a><br>
<br>
Institutskennzeichen: IK331530332, OID: 1.2.276.0.76.3.1.51; (c) 2011 by G.punkt;<br>
G.punkt ist Trust center zertifiziert für elektronischen Datenaustausch mit Leistungserbringern;<br>
GF: Tino Graßhof; ST-ID: DE210661356; Nr.: 101-225-04463; Großhandelserlaubnis nach § 52a Arzneimittelgesetz;<br>
G.punkt ist Mitglied im N.I.R. Netzwerk für innovative Rheumadiagnostik und -therapie;<br>
Neoscreen, NIQ und gmatic sind eingetragene Warenzeichen<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>