[Live-devel] What does fScaleFactor mean?
David Wu
davidw at aten-ca.com
Fri Feb 4 14:07:20 PST 2005
> It's used to implement RTSP 'trick play' support (i.e, fast forward,
> reverse play) when a RTSP server is streaming from a WAV audio file.
>
> E.g., to stream a file at 2x the normal speed, "fScaleFactor" is set to 2,
> which causes every second audio sample to be read (instead of every audio
> sample - the normal case). If "fScaleFactor" is set to -1, then every
> sample is read, but in reverse.
>
Pretty clear. Thanks.
>
> >I'm trying to write my own WAVAudioFileSource.
>
> What's wrong with the one you have? :-)
>
Nothing wrong with original WAVAudioFileSource. I just rewrite it to get better understanding with debugging info, like what is the value of "fLastPlayTime" at running, etc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live.com/pipermail/live-devel/attachments/20050204/afd505be/attachment.html
More information about the live-devel
mailing list