Its been 2 days that im trying to figure out whats the problem with no success.
The first time i press play, my plugin (a trigger) receive a correct input buffer in processBlock().
Then i press stop and start again, the few first calls of processBlock() the input buffer is filled with garbage (more precisely, silence), and this stays like this no matter how many time i presse stop and start, until the reset() function is called (after around 16 seconds)).
Why is the reset function not called right after i press stop or before start? This is very weird.
Or is there any way to force reset things in the host so it sends me correct data?
My reset function code and processblock function code has nothing to do with it, since creating a new plugin project with no custom coding produces the same bug (affirmed by debugging with ollydbg).
If someone could shed some light...
Sorry for not including it.
Cubase 7.5 32Bit with VST3 on Windows 8.1 Pro x64.
Using ASIO DirectX Full Duplex Driver.
Input Latency 0.0ms
Output Latency 11.610ms
Realtek High Definition Aduio | Buffer Size Samples 512 | Offset Samples 0 | Audio Channels 2 | Bits Per Sample 16 | Sync Yes