Navigation:  thinBasic Modules > TBASS > TBASS functions working on init, info, general, ... >

TBASS_SetVolume

Previous pageReturn to chapter overviewNext page

 

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

 

 

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com