TBASS_Apply3D

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > TBASS (Sound Module) > TBASS 3D and EAX >

TBASS_Apply3D

 

Description

 

Applies changes made to the 3D system.

 

Syntax

 

n = TBASS_Apply3D

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning





 

Remarks

 

This function must be called to apply any changes made with TBASS_Set3DFactors, TBASS_Set3DPosition, TBASS_ChannelSet3DAttributes or TBASS_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 applies 3D changes on all the initialized devices - there's no need to re-call it for each individual device when using multiple devices.

 

Restrictions

 

See also

 

Examples