[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-dev] Bug hunter..
From: |
Andrea Palmatè |
Subject: |
[Gnash-dev] Bug hunter.. |
Date: |
Wed, 01 Jul 2009 18:00:22 +0200 |
User-agent: |
Thunderbird 2.0.0.22 (Windows/20090605) |
Hello..
in my hunt that damned bug that is killing my life i've found this problem:
in
boost::int32_t
NetStream_as::time()
{
printf("NetStream_as::time: %ld\n",NetStream_as::time());
return _playHead.getPosition();
}
with usual player2.swf,while on Linux is always 0, on AmigaOS the first
time is called is 0 while the next is a large number like 150000000 (not
all zero of course)
and indeed is my problem on the bar that is displayed wrong.
Well, I don't know if this IS the problem but i have two warning on
asobj/flash/media/Sound_as.cpp: In member function 'void
gnash::Sound_as::start(double, int)':
asobj/flash/media/Sound_as.cpp:484: warning: converting to
'boost::uint64_t' from 'double'
asobj/flash/media/Sound_as.cpp:517: warning: converting to 'unsigned
int' from 'double'
and indeed start has the first parameter that is double
line 484 should not be a problem:
_startTime = secOff * 1000;
but line 517 could be a problem
unsigned int inPoint = 0;
if ( secOff > 0 ) {
inPoint = (secOff*44100); //This is line 517
}
Why on linux this warning is not signaled by the compiler? there is a
problem also on sound_handler->startSound that has the 5° parameter as
unsigned int.
Andrea
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-dev] Bug hunter..,
Andrea Palmatè <=