Crazy problem while writing a new VST host

Audio Plugin Hosts and other audio software applications discussion
Post Reply New Topic
RELATED
PRODUCTS

Post

Hi guys, i'm currently developping a VST host with some specific functions for my own usage. I have a stupid problem that drives me crazy : with some plugins (FM7 and Superwave P8 for example), I get some strange noise on the output with some presets. With other presets, everything works well...
I recorded audio signal directly on the plugin output : grabled audio is already there (so it's not during the audio to ASIO conversion process that problem arise)
It is not a CPU load related problem, nor a buffer size problem (i made tests in this direction too) The problem is not inside the plugins, because they work well with other hosts.

It's like that with some presets, the FPU works wrong, as if my host configured it badly.

Is there any other developpers that have experienced the same problem ? If so, do they find a solution ?

I'm going crzay by looking for this bug in my host... so if somebody could help me !

Ben[/url]

Post

Try disabling MMX and SSE optimizations in your compiler. On the x86 architecture, you can't use them and the FPU at the same time.

Just an idea. :)

Post

You can use MMX but you must reset the FPU state afterwards; perhaps that's the problem.
Another cause could be an alignment problem : are you using inline assembler?

Post Reply

Return to “Hosts & Applications (Sequencers, DAWs, Audio Editors, etc.)”