I am trying to capture the sound that the flashX component plays.
I do this by finding the flash.ocx module and connecting the waveOutWrite function .
This works well, however, I cannot distinguish between different activex instances that call waveOutWrite internally, as the sound seems to come from the same stream and is aimed at the same output device.
My question is, how can I tell who triggers waveOutWrite?
I think the answer lies somewhere in loading an instance of flash.ocx for each instance of activex, but I'm not sure how to achieve this, although when loading a module, COM is automatically processed. One of my ideas was to create activex components in different processes, which I hope will call the waveOutWrite function from different threads. However, this seems to be a rather complicated way to achieve this.
Any ideas?
source
share