Home Units Hierarchy Routines All identifiers

Class unaBass

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type unaBass = class(TObject)

Description

Provides interface for BASS. Requires BASS library (bass.dll)

http://www.un4seen.com/

Hierarchy

Overview

Methods

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

Description

Methods

Public constructor create(const libraryFileName: wString = ''; deviceId: int = 1; freq: DWORD = 44100; flags: DWORD = BASS_DEVICE_LEAVEVOL; handle: int = 0);
 
Public function apply3D(): bool;
 
Public function cd_door(doOpen: bool): bool;
 
Public function cd_free(): bool;
 
Public function cd_get_ID(id: DWORD): string;
 
Public function cd_get_trackLength(track: DWORD): DWORD;
 
Public function cd_get_tracks(): int;
 
Public function cd_inDrive(): bool;
 
Public function cd_init(drive: char; flags: DWORD): bool;
 
Public function cd_play(track: DWORD; loop: bool = false; wait: bool = false): bool;
 
Public function cd_stop(): bool;
 
Public function get_3DFactors(out distf, rollf, doppf: Single): bool;
 
Public function get_3DPosition(out pos, vel, front, top: BASS_3DVECTOR): bool;
 
Public function get_CPU(): int;
 
Public function get_deviceDescription(deviceNum: unsigned): string;

1% = 100

Public function get_DSObject(obj: DWORD): pointer;
 
Public function get_EAXParameters(out env: int32; out vol, decay, damp: Single): bool;
 
Public function get_errorCode(): int;
 
Public function get_globalVolumes(out musvol, samvol, strvol: int): bool;
 
Public function get_info(out info: BASS_INFO): bool;
 
Public function get_version(): DWORD;
 
Public function get_versionStr(): string;
 
Public function get_volume(): int;
 
Public function initialize(deviceId: int = -1; freq: DWORD = 44100; flags: DWORD = BASS_DEVICE_LEAVEVOL; win: HWND = 0; force: bool = false): bool;
 
Public function pause(): bool;
 
Public function record_free(): bool;
 
Public function record_getInfo(out info: BASS_RECORDINFO): bool;
 
Public function record_getLineInfo(line: DWORD): DWORD;
 
Public function record_getLineName(line: DWORD): string;
 
Public function record_get_deviceDescription(deviceId: int): string;
 
Public function record_init(deviceId: int): bool;
 
Public function record_selectLine(line: DWORD; settings: DWORD): bool;
 
Public function record_start(freq, flags: DWORD; proc: RECORDPROC; user: DWORD): bool;
 
Public function set_3DAlgorithm(algo: DWORD): bool;
 
Public function set_3DFactors(const distf, rollf, doppf: Single): bool;
 
Public function set_3DPosition(const pos, vel, front, top: BASS_3DVECTOR): bool;
 
Public function set_bufferLength(const len: Single): Single;
 
Public function set_CLSID(clsid: TGUID): bool;
 
Public function set_EAXParameters(env: int; const vol, decay, damp: Single): bool;
 
Public function set_globalVolumes(musvol, samvol, strvol: int): bool;
 
Public function set_logCurves(volume, pan: bool): bool;
 
Public function set_netConfig(option, value: DWORD): DWORD;
 
Public function set_volume(volume: int): bool;
 
Public function start(): bool;
 
Public function stop(): bool;
 
Public function update(): bool;
 
Protected function bass_init(device: Integer; freq, flags: DWORD; win: HWND): bool;
 
Public procedure AfterConstruction(); override;
 
Public procedure BeforeDestruction(); override;
 
Protected procedure bass_free();
 

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09