VERSION 1.0 CLASS
BEGIN
  MultiUse = -1  'True
  Persistable = 0  'NotPersistable
  DataBindingBehavior = 0  'vbNone
  DataSourceBehavior  = 0  'vbNone
  MTSTransactionMode  = 0  'NotAnMTSObject
END
Attribute VB_Name = "Config"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = True
Private Declare Function BASS_SetConfig Lib "bass.dll" (ByVal opt As Long, ByVal value As Long) As Long
Private Declare Function BASS_GetConfig Lib "bass.dll" (ByVal opt As Long) As Long
Private Declare Function BASS_SetConfigPtr Lib "bass.dll" (ByVal opt As Long, ByVal value As Any) As Long
Private Declare Function BASS_GetConfigPtr Lib "bass.dll" (ByVal opt As Long) As Long

Public Enum BassConfigNetConst
BASS_CONFIG_NET_AGENT = 16
BASS_CONFIG_NET_PROXY = 17
End Enum

Public Enum BassConfigConsts
BASS_CONFIG_BUFFER = 0
BASS_CONFIG_UPDATEPERIOD = 1
BASS_CONFIG_GVOL_SAMPLE = 4
BASS_CONFIG_GVOL_STREAM = 5
BASS_CONFIG_GVOL_MUSIC = 6
BASS_CONFIG_CURVE_VOL = 7
BASS_CONFIG_CURVE_PAN = 8
BASS_CONFIG_FLOATDSP = 9
BASS_CONFIG_3DALGORITHM = 10
BASS_CONFIG_NET_TIMEOUT = 11
BASS_CONFIG_NET_BUFFER = 12
BASS_CONFIG_PAUSE_NOPLAY = 13
BASS_CONFIG_NET_PREBUF = 15
BASS_CONFIG_NET_AGENT = 16
BASS_CONFIG_NET_PROXY = 17
BASS_CONFIG_NET_PASSIVE = 18
BASS_CONFIG_REC_BUFFER = 19
BASS_CONFIG_NET_PLAYLIST = 21
BASS_CONFIG_MUSIC_VIRTUAL = 22
BASS_CONFIG_VERIFY = 23
BASS_CONFIG_UPDATETHREADS = 24
BASS_CONFIG_DEV_BUFFER = 27
BASS_CONFIG_VISTA_TRUEPOS = 30
BASS_CONFIG_MP3_ERRORS = 35
BASS_CONFIG_DEV_DEFAULT = 36
BASS_CONFIG_NET_READTIMEOUT = 37
BASS_CONFIG_VISTA_SPEAKERS = 38
BASS_CONFIG_HANDLES = 41
BASS_CONFIG_UNICODE = 42
BASS_CONFIG_SRC = 43
BASS_CONFIG_SRC_SAMPLE = 44
BASS_CONFIG_ASYNCFILE_BUFFER = 45
BASS_CONFIG_OGG_PRESCAN = 47
BASS_CONFIG_MF_VIDEO = 48
BASS_CONFIG_AIRPLAY = 49
BASS_CONFIG_VERIFY_NET = 52
End Enum

Function GetConfig(Options As BassConfigConsts) As Long
GetConfig = BASS_GetConfig(Options)
End Function

Function GetConfigPtr(Options As BassConfigNetConst) As Long
GetConfigPtr = BASS_GetConfigPtr(Options)
End Function

Function SetConfig(Options As BassConfigConsts, value As Long) As Boolean
SetConfig = BASS_SetConfig(Options, value)
End Function

Function SetConfigPtr(Options As BassConfigNetConst, ByVal value As Long) As Boolean
SetConfigPtr = BASS_SetConfigPtr(Options, value)
End Function
