0
0

Hi all can somebody if it already exists or has to be build in.

I wanna attach a DSP callback after the decode buffer but before the streams are merged and put in playback buffer.

I know there are 2 types DSP callbacks one used right after the decode before going into buffer and 1 just before going to soundcardbuffer.

So how i can create a callback that acts just before the merge?

Why?
I need to normalize streams so they are all equal right before the merge.
First callback to get the peakvolumes before going into buffer then at the end calculate the differences and set them equal, and then merge them all to output.

  • You must to post comments
0
0

Hmm let me explain a bit more:
[code:2uec6y6q]
DSP DSP
decoder |——-buffer———-\ DSP
> merge–|-> soundcard
decoder |——-buffer———-/
DSP DSP
[/code:2uec6y6q]
Everywhere where it says “DSP” i want a callback and i think FMOD now does this:
[code:2uec6y6q]
DSP
decoder |——-buffer———-\ DSP
> merge–|-> soundcard
decoder |——-buffer———-/
DSP
[/code:2uec6y6q]

  • You must to post comments
0
0

thnx brett

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.