List Info

Thread: Improper behavior of helix engine when file duration is greater than actual strea




Improper behavior of helix engine when file duration is greater than actual strea
country flaguser name
United States
2008-03-24 20:28:48
Hi All,
 
The attached audio File has no audio data after 42 seconds of play. 
The player still continues to play the file until the file duration is completed.
 
HXPlayer::EndOfSource is correctly called after the stream is done (i.e. after 42 seconds of play). After that ideally, SourceInfo::CheckIfDone should decrement the m_pPlayer->m_uNumSourcesActive, but it does not do so because the KeepSourceActive always returns false. It keeps the source active throughout the duration of the file.
 
Hxplayer::ProcessIdle also depends on the current play time to be greater than the presentation duration in order to stop the playback. We should be able to stop the playback once m_uNumSourcesActive == 0.
 
Is there a reason why we always rely on presentation duration?
 
Thanks,
Jyotsana

 

  
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )