| Description | Hierarchy | Fields | Methods | Properties | 
type unaBass = class(TObject)
Provides interface for BASS. Requires BASS library (bass.dll)
![]()  | 
constructor create(const libraryFileName: wString = ''; deviceId: int = 1; freq: DWORD = 44100; flags: DWORD = BASS_DEVICE_LEAVEVOL; handle: int = 0); | 
![]()  | 
function apply3D(): bool; | 
![]()  | 
function cd_door(doOpen: bool): bool; | 
![]()  | 
function cd_free(): bool; | 
![]()  | 
function cd_get_ID(id: DWORD): string; | 
![]()  | 
function cd_get_trackLength(track: DWORD): DWORD; | 
![]()  | 
function cd_get_tracks(): int; | 
![]()  | 
function cd_inDrive(): bool; | 
![]()  | 
function cd_init(drive: char; flags: DWORD): bool; | 
![]()  | 
function cd_play(track: DWORD; loop: bool = false; wait: bool = false): bool; | 
![]()  | 
function cd_stop(): bool; | 
![]()  | 
function get_3DFactors(out distf, rollf, doppf: Single): bool; | 
![]()  | 
function get_3DPosition(out pos, vel, front, top: BASS_3DVECTOR): bool; | 
![]()  | 
function get_CPU(): int; | 
![]()  | 
function get_deviceDescription(deviceNum: unsigned): string; | 
![]()  | 
function get_DSObject(obj: DWORD): pointer; | 
![]()  | 
function get_EAXParameters(out env: int32; out vol, decay, damp: Single): bool; | 
![]()  | 
function get_errorCode(): int; | 
![]()  | 
function get_globalVolumes(out musvol, samvol, strvol: int): bool; | 
![]()  | 
function get_info(out info: BASS_INFO): bool; | 
![]()  | 
function get_version(): DWORD; | 
![]()  | 
function get_versionStr(): string; | 
![]()  | 
function get_volume(): int; | 
![]()  | 
function initialize(deviceId: int = -1; freq: DWORD = 44100; flags: DWORD = BASS_DEVICE_LEAVEVOL; win: HWND = 0; force: bool = false): bool; | 
![]()  | 
function pause(): bool; | 
![]()  | 
function record_free(): bool; | 
![]()  | 
function record_getInfo(out info: BASS_RECORDINFO): bool; | 
![]()  | 
function record_getLineInfo(line: DWORD): DWORD; | 
![]()  | 
function record_getLineName(line: DWORD): string; | 
![]()  | 
function record_get_deviceDescription(deviceId: int): string; | 
![]()  | 
function record_init(deviceId: int): bool; | 
![]()  | 
function record_selectLine(line: DWORD; settings: DWORD): bool; | 
![]()  | 
function record_start(freq, flags: DWORD; proc: RECORDPROC; user: DWORD): bool; | 
![]()  | 
function set_3DAlgorithm(algo: DWORD): bool; | 
![]()  | 
function set_3DFactors(const distf, rollf, doppf: Single): bool; | 
![]()  | 
function set_3DPosition(const pos, vel, front, top: BASS_3DVECTOR): bool; | 
![]()  | 
function set_bufferLength(const len: Single): Single; | 
![]()  | 
function set_CLSID(clsid: TGUID): bool; | 
![]()  | 
function set_EAXParameters(env: int; const vol, decay, damp: Single): bool; | 
![]()  | 
function set_globalVolumes(musvol, samvol, strvol: int): bool; | 
![]()  | 
function set_logCurves(volume, pan: bool): bool; | 
![]()  | 
function set_netConfig(option, value: DWORD): DWORD; | 
![]()  | 
function set_volume(volume: int): bool; | 
![]()  | 
function start(): bool; | 
![]()  | 
function stop(): bool; | 
![]()  | 
function update(): bool; | 
![]()  | 
function bass_init(device: Integer; freq, flags: DWORD; win: HWND): bool; | 
![]()  | 
procedure AfterConstruction(); override; | 
![]()  | 
procedure BeforeDestruction(); override; | 
![]()  | 
procedure bass_free(); | 
![]()  | 
constructor create(const libraryFileName: wString = ''; deviceId: int = 1; freq: DWORD = 44100; flags: DWORD = BASS_DEVICE_LEAVEVOL; handle: int = 0); | 
![]()  | 
function apply3D(): bool; | 
![]()  | 
function cd_door(doOpen: bool): bool; | 
![]()  | 
function cd_free(): bool; | 
![]()  | 
function cd_get_ID(id: DWORD): string; | 
![]()  | 
function cd_get_trackLength(track: DWORD): DWORD; | 
![]()  | 
function cd_get_tracks(): int; | 
![]()  | 
function cd_inDrive(): bool; | 
![]()  | 
function cd_init(drive: char; flags: DWORD): bool; | 
![]()  | 
function cd_play(track: DWORD; loop: bool = false; wait: bool = false): bool; | 
![]()  | 
function cd_stop(): bool; | 
![]()  | 
function get_3DFactors(out distf, rollf, doppf: Single): bool; | 
![]()  | 
function get_3DPosition(out pos, vel, front, top: BASS_3DVECTOR): bool; | 
![]()  | 
function get_CPU(): int; | 
![]()  | 
function get_deviceDescription(deviceNum: unsigned): string; | 
| 
 1% = 100  | |
![]()  | 
function get_DSObject(obj: DWORD): pointer; | 
![]()  | 
function get_EAXParameters(out env: int32; out vol, decay, damp: Single): bool; | 
![]()  | 
function get_errorCode(): int; | 
![]()  | 
function get_globalVolumes(out musvol, samvol, strvol: int): bool; | 
![]()  | 
function get_info(out info: BASS_INFO): bool; | 
![]()  | 
function get_version(): DWORD; | 
![]()  | 
function get_versionStr(): string; | 
![]()  | 
function get_volume(): int; | 
![]()  | 
function initialize(deviceId: int = -1; freq: DWORD = 44100; flags: DWORD = BASS_DEVICE_LEAVEVOL; win: HWND = 0; force: bool = false): bool; | 
![]()  | 
function pause(): bool; | 
![]()  | 
function record_free(): bool; | 
![]()  | 
function record_getInfo(out info: BASS_RECORDINFO): bool; | 
![]()  | 
function record_getLineInfo(line: DWORD): DWORD; | 
![]()  | 
function record_getLineName(line: DWORD): string; | 
![]()  | 
function record_get_deviceDescription(deviceId: int): string; | 
![]()  | 
function record_init(deviceId: int): bool; | 
![]()  | 
function record_selectLine(line: DWORD; settings: DWORD): bool; | 
![]()  | 
function record_start(freq, flags: DWORD; proc: RECORDPROC; user: DWORD): bool; | 
![]()  | 
function set_3DAlgorithm(algo: DWORD): bool; | 
![]()  | 
function set_3DFactors(const distf, rollf, doppf: Single): bool; | 
![]()  | 
function set_3DPosition(const pos, vel, front, top: BASS_3DVECTOR): bool; | 
![]()  | 
function set_bufferLength(const len: Single): Single; | 
![]()  | 
function set_CLSID(clsid: TGUID): bool; | 
![]()  | 
function set_EAXParameters(env: int; const vol, decay, damp: Single): bool; | 
![]()  | 
function set_globalVolumes(musvol, samvol, strvol: int): bool; | 
![]()  | 
function set_logCurves(volume, pan: bool): bool; | 
![]()  | 
function set_netConfig(option, value: DWORD): DWORD; | 
![]()  | 
function set_volume(volume: int): bool; | 
![]()  | 
function start(): bool; | 
![]()  | 
function stop(): bool; | 
![]()  | 
function update(): bool; | 
![]()  | 
function bass_init(device: Integer; freq, flags: DWORD; win: HWND): bool; | 
![]()  | 
procedure AfterConstruction(); override; | 
![]()  | 
procedure BeforeDestruction(); override; | 
![]()  | 
procedure bass_free(); | 
(c) 2012 Lake of Soft