Author Topic: Lazarus/FPC BASSWASAPI 2.4.2  (Read 279 times)

morknotmindy

  • Posts: 11
Lazarus/FPC BASSWASAPI 2.4.2
« on: 4 Feb '18 - 10:25 »
I have just updated basswasapi to the latest version. I get a meaningless compile error (expecting ; got ....) in basswasapi.pas caused by the line under Device notifications:

BASS_WASAPI_NOTIFY_FAIL   = 0x100;

This line was not present in the previous version I was using. It looks like Lazarus has a problem with 0x100 (hexadecimal?).

If I comment out the line there are no problems and everything seems to work fine.

Is someone able to explain why this happens and whether the line is vital.

Thanks.

Ian @ un4seen

  • Administrator
  • Posts: 21017
Re: Lazarus/FPC BASSWASAPI 2.4.2
« Reply #1 on: 5 Feb '18 - 13:42 »
Oops, that should be $100 rather than 0x100. A corrected BASSWASAPI.PAS file is up in the BASSWASAPI package now, so please re-download to get that.

morknotmindy

  • Posts: 11
Re: Lazarus/FPC BASSWASAPI 2.4.2
« Reply #2 on: 5 Feb '18 - 16:03 »
Thank you for the solution, Ian.