Author Topic: BASS_FX_BFX_MIX DELPHI  (Read 129 times)

tonee26

  • Posts: 31
BASS_FX_BFX_MIX DELPHI
« on: 13 Mar '17 - 16:02 »
Hello, does anyone want to give an example BASS_FX_BFX_MIX with Delphi ?  ???

tonee26

  • Posts: 31
Re: BASS_FX_BFX_MIX DELPHI
« Reply #1 on: 15 Mar '17 - 07:18 »
no one wants to help me  ???  ???

Ian @ un4seen

  • Administrator
  • Posts: 19922
Re: BASS_FX_BFX_MIX DELPHI
« Reply #2 on: 15 Mar '17 - 17:55 »
Please describe what you want to achieve with that effect, to see if it is possible.

tonee26

  • Posts: 31
Re: BASS_FX_BFX_MIX DELPHI
« Reply #3 on: 15 Mar '17 - 18:24 »
solved

Quote
try
    if mixer = 0 then
      Exit;
    BASS_FXGetParameters(chanmix, @fxmix);
    case AChan of
      0:
        begin
          fxmix.lChannel[0] := BASS_BFX_CHAN1;
          fxmix.lChannel[1] := BASS_BFX_CHAN1;
        end;
      1:
        begin
          fxmix.lChannel[0] := BASS_BFX_CHAN1;
          fxmix.lChannel[1] := BASS_BFX_CHAN2;
        end;
      2:
        begin
          fxmix.lChannel[0] := BASS_BFX_CHAN2;
          fxmix.lChannel[1] := BASS_BFX_CHAN2;
        end;
    end;
    BASS_FXSetParameters(chanmix, @fxmix);
  except
    on e: exception do
      ShowMessage(e.Message);
  end;

thank u ian