BASS

BASS_CONFIG_AIRPLAY config option


Enabled Airplay receivers.

BASS_SetConfig(
    BASS_CONFIG_AIRPLAY,
    DWORD receivers
);

Parameters

receiversEnabled receivers... the 1st bit is the 1st reciever, the 2nd bit is the 2nd receiver, etc. If a bit is set, then the corresponding receiver is enabled.

Remarks

This config option determines which Airplay receivers will receive the sound when the Airplay output device is used. The receiver configuration is a global setting, so changes will also affect any other software that uses the Airplay device.

BASS_GetDeviceInfo can be used to enumerate the available Airplay receivers. Unlike the output device list, where entries are never removed (the BASS_DEVICE_ENABLED flag is just unset), entries may be removed from the Airplay receiver list as it only contains receivers that are currently available. That means you should not depend on the bit indexes remaining constant.

Platform-specific

This config option is only available on OSX.

Example

Enable the 1st and 2nd Airplay receivers.
BASS_SetConfig(BASS_CONFIG_AIRPLAY, 3);

See also

BASS_GetConfig, BASS_GetDeviceInfo, BASS_SetConfig