Author Topic: How to remove default device effect ?  (Read 499 times)

lefjucabro

  • Posts: 13
How to remove default device effect ?
« on: 22 Aug '23 - 08:54 »
Hello,

I have some levels issues (level errors are non-linear with frequency) on some Android devices and I want to use Bass for removing device default effects ?

How can I do that ?

There are BASS_ChannelRemoveDSP and BASS_ChannelRemoveFX functions but it seems to apply only on DSP/FX that I have add with BASS_ChannelSetDSP and BASS_ChannelSetFX functions.

Regards

Ian @ un4seen

  • Administrator
  • Posts: 26218
Re: How to remove default device effect ?
« Reply #1 on: 23 Aug '23 - 14:26 »
Indeed, BASS_ChannelRemoveDSP/FX are just for removing effects that were enabled via BASS_ChannelSetDSP/FX. BASS doesn't have any control over specific Android effects, but you could try disabling audio session creation (which disables effects) via the BASS_CONFIG_ANDROID_SESSIONID option:

Code: [Select]
BASS.BASS_SetConfig(BASS.BASS_CONFIG_ANDROID_SESSIONID, -1); // no audio session

But note this currently only affects playback, not recording.

lefjucabro

  • Posts: 13
Re: How to remove default device effect ?
« Reply #2 on: 23 Aug '23 - 15:11 »
Thank you for the info, my application is only recording and I am using BASS_RecordXXX functions.
Regards