goodtrailer
New Member
I'm writing an audio plugin (technically I'm modifying win-capture) that injects a hook and opens a named pipe for any processes that match the name chosen in the properties, and it works fine if there's only one process playing audio for that selected application. But if there's multiple processes playing audio under that application, obs_source_output_audio doesn't combine the overlapping audio frames. It just chooses one of them (I'm assuming whichever one came first), which causes a flickering effect. Is there some way to deal with this from within the OBS API that I've just missed, or do I have to combine the audio frames myself before passing them on?
The source code in case you need it (I'm not sure it'll help though): https://github.com/goodtrailer/obs-...325e6/plugins/win-capture/audio-capture.c#L78
The source code in case you need it (I'm not sure it'll help though): https://github.com/goodtrailer/obs-...325e6/plugins/win-capture/audio-capture.c#L78