TBASS_SetVolume

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > TBASS (Sound Module) > TBASS functions working on init, info, general, ... >

TBASS_SetVolume

 

Description

 

Sets the output master volume.

 

Syntax

 

n = TBASS_SetVolume(Volume)

 

Returns

 

Number

If succesful, then %TBASS_TRUE is returned, else %TBASS_FALSE is returned. Use TBASS_ErrorGetCode to get the error code.

 

Parameters

 

Name

Type

Optional

Meaning

Volume

Number

No

The volume level... 0 (min) - 100

or what's been set with the %TBASS_CONFIG_MAXVOL config option (max).

 

Remarks

 

Restrictions

 

See also

 

Examples