BASS.NET API for the Un4seen BASS Audio Library

BassBASS_Apply3D Method

BASS.NET API for the Un4seen BASS Audio Library
Applies changes made to the 3D system.

Namespace:  Un4seen.Bass
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

[DllImportAttribute("bass")]
public static void BASS_Apply3D()
Remarks

This must be called to apply any changes made with BASS_Set3DFactors(Single, Single, Single), BASS_Set3DPosition(BASS_3DVECTOR, BASS_3DVECTOR, BASS_3DVECTOR, BASS_3DVECTOR), BASS_ChannelSet3DAttributes(Int32, BASS3DMode, Single, Single, Int32, Int32, Int32) or BASS_ChannelSet3DPosition(Int32, BASS_3DVECTOR, BASS_3DVECTOR, BASS_3DVECTOR). 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 applies 3D changes on all the initialized devices - there's no need to re-call it for each individual device when using multiple devices.

See Also

Reference