replace wasapi with bass in my app

Started by johnvantelli, 24 Aug '24 - 07:09

johnvantelli

Hi,
I read that bass uses wasapi by default.
In my player I use BassWasapi --> bassMix to play various songs with xfade effects from a song to another.

My questions are:
- can I remove basswasapi replacing it with bass?
- if yes, what benefit is there other than simplifying the software?
- what features does bassWasapi offer that Bass doesn't yet provide? (configuration, parameters)

thanks

Ian @ un4seen

The main feature that only BASSWASAPI has is support for exclusive mode, and also shorter period shared mode (for lower latency). If you're using regular shared mode WASAPI then you could indeed remove BASSWASAPI and just use BASS instead.

Another thing that BASSWASAPI provides is device notifications (BASS_WASAPI_SetNotify). If you're currently using that, you can continue to do so while using BASS for playback/recording. Some info and code for that can be found here:

   www.un4seen.com/forum/?topic=19759.msg138285#msg138285