Re: (ÈðÐÇÌáʾ-´ËÓʼþ¿ÉÄÜÊÇÀ¬»øÓʼþ)Re: [Live-devel] there is a delay about 20 second

work tany at chinadigipro.com
Thu May 12 10:21:34 PDT 2005


OK, thank you.

yesterday, I turned some of the floating point fumula off, it is all right now,it works well now.

Best Wishes!

----- Original Message ----- 
From: "Ross Finlayson" <finlayson at live.com>
To: "LIVE.COM Streaming Media - development & use" <live-devel at ns.live.com>
Sent: Wednesday, May 11, 2005 8:02 PM
Subject: (ÈðÐÇÌáʾ-´ËÓʼþ¿ÉÄÜÊÇÀ¬»øÓʼþ)Re: [Live-devel] there is a delay about 20 second


> At 07:57 PM 5/10/05, you wrote:
> >I have ported the "openRTSP" directly to uClinux,but when I run to receive 
> >whatever a mp3 file,there will be a 20-second delay.
> >
> >I just find out the place where is a thing cause this problem.
> >in the function "GetADUInfoFromMP3Frame()" of the file "MP3Internals.cpp" 
> >,the phrase "MP3FrameParams fr;" will do.
> >and wherever I put the phrase, the program will delay there.
> 
> The problem is the "MP3FrameParams" constructor, which initializes a lot of 
> floating point stuff which turns out not to be needed.  (This is legacy 
> code from a MP3 decoder; it's no longer used at all.)  Because (apparently) 
> your target hardware doesn't have hardware floating point, this (useless) 
> code is taking a long time to execute.
> 
> I'll be removing this code in future releases.  For now, you can fix the 
> problem by replacing the line
>          static Boolean doneInit = False;
> with
>          static Boolean doneInit = True;
> 
> Thanks for notng this problem.
> 
> 
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live.com
> http://lists.live.com/mailman/listinfo/live-devel



More information about the live-devel mailing list