Author Topic: BASS_CONFIG_CURVE_VOL no effect on ASIO  (Read 195 times)

MikeV

  • Posts: 181
BASS_CONFIG_CURVE_VOL no effect on ASIO
« on: 2 Mar '18 - 12:12 »
I'm always a little confused how I can determine if features apply to the local library, or to others as well. So not sure if this is a bug or not, but FYI BASS_CONFIG_CURVE_VOL works for DirectSound but has no effect for ASIO.

Ian @ un4seen

  • Administrator
  • Posts: 20836
Re: BASS_CONFIG_CURVE_VOL no effect on ASIO
« Reply #1 on: 2 Mar '18 - 14:04 »
Indeed, the BASS_CONFIG_CURVE_VOL setting does not affect BASSASIO. In fact, none of the BASS options affect BASSASIO, so that it is possible to use BASSASIO independently of BASS. The BASS_CONFIG_CURVE_VOL enabled setting can be emulated like this:

Code: [Select]
float v = volume ? pow10((volume - 1) * 5) : 0;
BASS_ASIO_ChannelSetVolume(FALSE, channel, v);