home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
MP1 EVR Presenter/dshowhelper community development
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="davidf" data-source="post: 656116" data-attributes="member: 19484"><p>Hello Owlsroost,</p><p></p><p>I've been having a few issues with the MP Audio Renderer and the showhelper together. I've been playing around with the code a bit and may have fixed it - I say may as it seems to be very easy to break it. I haven't made any significant changes to the code i.e. I don't think I should have fixed it, so i wanted to know is the code as easily broken as it seems or have I just fluked a fix. I'll leave it running for the evening and see what happens. There are a few bits of code which I am curious about as well if you don't mind I'll ask some questions on it.</p><p></p><p> //De-sensitise frame dropping to avoid occasional delay glitches triggering frame drops</p><p> if ((m_frameRateRatio > 0) && !m_bDVDMenu && !m_bScrubbing)</p><p></p><p>Why >0 and not >1? surely this will always apply unless paused or the framerate is way off.</p><p></p><p>The only thing I have changed is the sleep time from 1.5ms to 1ms when it is close to scheduling time - and I doubt that has actaully fixed it as the issue seems to be due to latency and the extra execution cycles would increase the latency.</p><p></p><p>I have noticed that appears to be a bug is that if a sample from the past is scheduled it is also dropped almost every time.</p><p>Line 2526 and 2544 both should have i++ in the loop as well as the first sample is not currently checked (almost certain to make no difference).</p><p></p><p>David</p></blockquote><p></p>
[QUOTE="davidf, post: 656116, member: 19484"] Hello Owlsroost, I've been having a few issues with the MP Audio Renderer and the showhelper together. I've been playing around with the code a bit and may have fixed it - I say may as it seems to be very easy to break it. I haven't made any significant changes to the code i.e. I don't think I should have fixed it, so i wanted to know is the code as easily broken as it seems or have I just fluked a fix. I'll leave it running for the evening and see what happens. There are a few bits of code which I am curious about as well if you don't mind I'll ask some questions on it. //De-sensitise frame dropping to avoid occasional delay glitches triggering frame drops if ((m_frameRateRatio > 0) && !m_bDVDMenu && !m_bScrubbing) Why >0 and not >1? surely this will always apply unless paused or the framerate is way off. The only thing I have changed is the sleep time from 1.5ms to 1ms when it is close to scheduling time - and I doubt that has actaully fixed it as the issue seems to be due to latency and the extra execution cycles would increase the latency. I have noticed that appears to be a bug is that if a sample from the past is scheduled it is also dropped almost every time. Line 2526 and 2544 both should have i++ in the loop as well as the first sample is not currently checked (almost certain to make no difference). David [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
MP1 EVR Presenter/dshowhelper community development
Contact us
RSS
Top
Bottom