Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Entertainment » microsoft.public.windowsmedia.sdk
Thread: Setting rate of avi and asf files using WMP SDK

HTVi
TV Discussion Newsgroups

Setting rate of avi and asf files using WMP SDK
ak268 10/15/2008 2:03:02 PM
Hi all,
I need to set the rate of multiple windows media players playing avi and asf
files. Setting the rate is straightforward but i need to ensure that they are
synchronised after the rate has been set.

The strategy I've adopted previously is to make a change, call pause, allow
everything to render and then call play(). This works fine.

However, when you call play the replay rate is automatically set to 1
modifying the calue i have set!

Is there an alternative way to do what i need to without running in to the
problems i have described above?

Cheers,
ak268
Re: Setting rate of avi and asf files using WMP SDK
"Alessandro Angeli" <nobody[ at ]nowhere.in.the.net> 10/15/2008 4:01:08 PM
From: "ak268"

[Quoted Text]
> The strategy I've adopted previously is to make a change,
> call pause, allow everything to render and then call
> play(). This works fine.
>
> However, when you call play the replay rate is
> automatically set to 1 modifying the calue i have set!
>
> Is there an alternative way to do what i need to without
> running in to the problems i have described above?

Not to my knowledge. As I told you before, if you need
better control, you need to drop WMP and use DirectShow
directly.

--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// mvpnews at riseoftheants dot com
// http://www.riseoftheants.com/mmx/faq.htm


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen