Getting a strange problem in forward and reversing the song....

Login to reply to this topic.
Tue, 2008-06-10 11:19
Joined: 2008-04-11
Forum posts: 24

Hello All.....

I got a strange prob......

1. when i dont use the forward and reverse and song completes all things goes fine.........and total duration which m calculating is equal to elapsed song duration at the completion of song......

But 2. when i use forward and reverse and go at the last of song my played time duration of song is greater than total time duration.........
why its happening....here is my code....

ForwardL()
{
TTimeIntervalMicroSeconds aPosition;
TInt aError;
aError = iMdaAudioPlayerUtility->GetPosition( aPosition );
TInt64 aPosition64 = TInt64(aPosition.Int64()) + TInt64(10000000);
TTimeIntervalMicroSeconds aPosition1(aPosition64);
iMdaAudioPlayerUtility->SetPosition( aPosition1 );
//Here it is forwarding exact 10000000 microsecond...
}


correct me if m worng

  • Login to reply to this topic.