Some guidance on MacOS

Started by AndyMK,

AndyMK

Hi Ian. I have completed the Windows version of my software and am now porting over to MacOS before release. On Windows, I am using WASAPI and ASIO with BASS set to "no sound". With MacOS, it's BASS without any add ons so there is no callback/decoding unless I use a stream with STREAMPROC_DEVICE. Is there anything I need to do to make sure I get the lowest latency possible on this platform? It needs to perform like ASIO in terms of latency.

BASS_CONFIG_DEV_BUFFER
This option is not available on macOS or iOS; the device buffer length on those platforms is twice the device update period, which can be set via the BASS_CONFIG_DEV_PERIOD option.

Does the above mean that the output latency is always double the Audio interfaces set period? For example, with ASIO, I set 256 samples and that's the output latency. How do I achieve that here?

Thanks for your time.

Ian @ un4seen

BASS_CONFIG_DEV_PERIOD can be set in samples (rather than milliseconds) by using a negative number. Setting it to -256 on macOS should be equivalent to using a 256 sample buffer with ASIO.

AndyMK

Thanks. I forgot to ask you about the Bass_fx fix for reverse looping that you sent me. Is it working for MacOS? Haven't got there yet.

Ian @ un4seen