Changing playback rate in ogg-Vorbis

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Changing playback rate in ogg-Vorbis

Bastian Hecht
Hello,

I develop an application for blind people. They hear much better than the average and are able to listen to higher playback rates for speech.

I tried the sample Application from the documentation and wanted to change the rate.

So I called

gboolean b = gst_element_seek (pipeline, 2.0, GST_FORMAT_TIME,
 GST_SEEK_FLAG_FLUSH,
 GST_SEEK_TYPE_SET, 0,
 GST_SEEK_TYPE_NONE, GST_CLOCK_TIME_NONE);

b is true, but the playback rate is still the same. I read something that the decoder must support this kind of operation, but that vorbis should be able to do it.

I do this before calling  g_main_loop_run (loop);

There is a plugin called scaletempo to remove the higher pitch. Where do I have to include that? Simply after the decoder?

Thanks for your help,

 Bastian Hecht


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel