Author Topic: List of the DSPs applied to a channel  (Read 62 times)

jpf

  • Posts: 201
List of the DSPs applied to a channel
« on: 7 Jan '25 - 02:19 »
Is there a Bass function which will return a list of the handles of the DSPs applied to a Bass channel taking the channel handle as argument?

Is there a Bass function which will return the values of the arguments used on BASS_ChannelSetDSP taking the DSP handle as argument?

Or is there a Bass function providing all that info at once?

I don't see anything like that mentioned in the help.

Ian @ un4seen

  • Administrator
  • Posts: 26223
Re: List of the DSPs applied to a channel
« Reply #1 on: 7 Jan '25 - 15:23 »
No, I'm afraid there isn't currently any way to get either all DSP handles or a DSP handle's parameters, so if that info is needed then you would need to retain it when making the BASS_ChannelSetDSP calls. If you are currently retaining the DSP handles then perhaps you could change that HDSP variable to a struct/class that contains the additional info too.

jpf

  • Posts: 201
Re: List of the DSPs applied to a channel
« Reply #2 on: 7 Jan '25 - 17:35 »
Thanks for the info!

I'm currently retaining all the channel handles, their DPSs handles and parameters, but I wanted to simplify my code.