BASS_Apply3D

Applies changes made to the 3D system.

BOOL WINAPI BASS_Apply3D();

Return value
If succesful, then TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.

Error codes
BASS_ERROR_NO3D BASS_Init has not been successfully called with BASS_DEVICE_3D specified in the flags parameter.

Remarks
This must be called to apply any changes made with BASS_Set3DFactors, BASS_Set3DPosition, BASS_ChannelSet3DAttributes or BASS_ChannelSet3DPosition. It improves performance to have DirectSound do all the required recalculating at the same time like this, rather than recalculating after every little change is made.

This function is automatically called when starting a 3D sample with BASS_SamplePlay3D or BASS_SamplePlay3DEx.

See also
BASS_ChannelSet3DAttributes, BASS_ChannelSet3DPosition, BASS_Set3DFactors, BASS_Set3DPosition