If i add 2 arrays together, like here, no problem, the 2 streams are perfectly mixed ...
var
outbuf, outbuf2: array [0..2047] of byte ;
////// the 2 arrays are filled with datas...
procedure mix_array() ; //// here i want to mix 2 arrays
var x
begin
x := 0 ;
while x < Length(outbuf) ) do begin
outbuf[x] := outbuf[x] + oufbuf2[x] ;
inc(x) ;
end;
end;
But to change volume, it is other story...