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
Support
Watch / Listen Media
Listen Music
Music DSP effects
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="rlevis" data-source="post: 340007" data-attributes="member: 81718"><p>hwahrmann, I have some clues as to what may be causing the dsp to crash! I'm a software developer myself and I wrote a Winamp DSP plugin so I could debug the problem. My DSP is passing the data straight to the audio dsp you downloaded, and is trapping all errors.</p><p></p><p>Over a 2 minute period, 8 exceptions occured calling ModifySamples and all 8 contained 4410 samples. I'm not sure why 4410 samples is crashing the DSP but it doesn't appear to like that number. Perhaps it is too large.</p><p></p><p>Is there anything that can be done to reduce the size of the buffers being sent to the DSP?</p><p></p><p>Cheers.</p><p></p><p>Well, some more debugging and I found that most calls contain 4410 samples and some 8820, and they work fine, so it is not a problem with 4410 samples at all.</p><p></p><p>Since the plugin works with my app and Winamp with no noise or crashes then I think it must be the memory buffer being sent to the plugin is sometimes not the correct size, and this is causing the plugin to attempt to overwrite unallocated memory. That is all I think it can be.</p><p></p><p>I am using a 2 second output buffer in the MP config rather than the default of 4 seconds I think it was. Perhaps this is the only difference between your and my configuration and may explain the problem? I'll go back to 4 seconds and see how it goes.</p><p></p><p>You may like to test with a 2 second buffer.</p><p></p><p>Cheers.</p></blockquote><p></p>
[QUOTE="rlevis, post: 340007, member: 81718"] hwahrmann, I have some clues as to what may be causing the dsp to crash! I'm a software developer myself and I wrote a Winamp DSP plugin so I could debug the problem. My DSP is passing the data straight to the audio dsp you downloaded, and is trapping all errors. Over a 2 minute period, 8 exceptions occured calling ModifySamples and all 8 contained 4410 samples. I'm not sure why 4410 samples is crashing the DSP but it doesn't appear to like that number. Perhaps it is too large. Is there anything that can be done to reduce the size of the buffers being sent to the DSP? Cheers. Well, some more debugging and I found that most calls contain 4410 samples and some 8820, and they work fine, so it is not a problem with 4410 samples at all. Since the plugin works with my app and Winamp with no noise or crashes then I think it must be the memory buffer being sent to the plugin is sometimes not the correct size, and this is causing the plugin to attempt to overwrite unallocated memory. That is all I think it can be. I am using a 2 second output buffer in the MP config rather than the default of 4 seconds I think it was. Perhaps this is the only difference between your and my configuration and may explain the problem? I'll go back to 4 seconds and see how it goes. You may like to test with a 2 second buffer. Cheers. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Watch / Listen Media
Listen Music
Music DSP effects
Contact us
RSS
Top
Bottom