Please enable JavaScript to view this site.

thinBasic Help Manual

* * HELP & MANUAL PREMIUM PACK 4 DEMO VERSION * *

This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.

This version is copyright and may only be used for local testing purposes. It may not be distributed.

Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.

 

Description

 

Retrieves the value of a config option.

 

Syntax

 

n = TBASS_GetConfig(Option)

 

Returns

 

Number

If successful, the value of the requested config option is returned, else -1 is returned. Use TBASS_ErrorGetCode to get the error code.

 

Parameters

 

Name

Type

Optional

Meaning

Option

Number

No

The option to get the value of... one of the following.

 

Flag

Meaning

%TBASS_CONFIG_3DALGORITHM

The 3D algorithm for software mixed 3D channels.

%TBASS_CONFIG_BUFFER

Playback buffer length.

%TBASS_CONFIG_CURVE_PAN

Panning translation curve.

%TBASS_CONFIG_CURVE_VOL

Volume translation curve.

%TBASS_CONFIG_FLOATDSP

Pass 32-bit floating-point sample data to all DSP functions?

%TBASS_CONFIG_GVOL_MUSIC

Global music volume.

%TBASS_CONFIG_GVOL_SAMPLE

Global sample volume.

%TBASS_CONFIG_GVOL_STREAM

Global stream volume.

%TBASS_CONFIG_MAXVOL

Maximum volume level.

%TBASS_CONFIG_MP3_CODEC

MP3 decoder to use.

%TBASS_CONFIG_NET_AGENT

"User-Agent" header.

%TBASS_CONFIG_NET_BUFFER

Internet download buffer length.

%TBASS_CONFIG_NET_PASSIVE

Use passive mode in FTP connections?

%TBASS_CONFIG_NET_PREBUF

Amount to pre-buffer when opening internet streams.

%TBASS_CONFIG_NET_PROXY

Proxy server settings.

%TBASS_CONFIG_NET_TIMEOUT

Time to wait for a server to respond to a connection request.

%TBASS_CONFIG_PAUSE_NOPLAY

Prevent channels being played when the output is paused?

%TBASS_CONFIG_UPDATEPERIOD

Update period of playback buffers.



 

 

Remarks

 

Restrictions

 

See also

 

Examples

 

 

 

 

Created with Help+Manual 8 and styled with Premium Pack Version 4 © by EC Software