Author Topic: replace wasapi with bass in my app  (Read 132 times)

johnvantelli

  • Posts: 93
replace wasapi with bass in my app
« on: 24 Aug '24 - 07:09 »
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

  • Administrator
  • Posts: 26102
Re: replace wasapi with bass in my app
« Reply #1 on: 26 Aug '24 - 15:32 »
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