Home Units Hierarchy Routines All identifiers

Class unaBassMusic

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type unaBassMusic = class(unaBassConsumer)

Description

Provides interface for BASS module music support. Requires BASS library (bass.dll)

http://www.un4seen.com/

Hierarchy

Overview

Methods

Public function get_ampLevel(): DWORD;
Public function get_channelVol(channel: DWORD): int;
Public function get_length(playlen: bool = true): QWORD;
Public function get_name(): string;
Public function get_panSeparation(): DWORD;
Public function load(buf: pointer; len: DWORD; flags: DWORD = 0): bool; overload;
Public function load(const fileName: wString; offset: DWORD = 0; maxLength: DWORD = 0; flags: DWORD = 0): bool; overload;
Public function play(ensureBass: bool = true): bool;
Public function playEx(position: int; flags: DWORD = BASS_MUSIC_SURROUND; reset: bool = true): bool; overload;
Public function playEx(row, order: DWORD; flags: DWORD = BASS_MUSIC_SURROUND; reset: bool = false): bool; overload;
Public function preBuf(len: DWORD = 0): bool;
Public function set_ampLevel(amp: DWORD): bool;
Public function set_channelVol(channel, volume: DWORD): bool;
Public function set_panSeparation(pan: DWORD): bool;
Public function set_positionScaler(scale: DWORD): bool;
Protected function supportsDSP(): bool; override;
Protected procedure freeResources(); override;
Protected procedure music_free();
Protected procedure setHandle(value: DWORD); override;

Description

Methods

Public function get_ampLevel(): DWORD;
 
Public function get_channelVol(channel: DWORD): int;
 
Public function get_length(playlen: bool = true): QWORD;
 
Public function get_name(): string;
 
Public function get_panSeparation(): DWORD;
 
Public function load(buf: pointer; len: DWORD; flags: DWORD = 0): bool; overload;
 
Public function load(const fileName: wString; offset: DWORD = 0; maxLength: DWORD = 0; flags: DWORD = 0): bool; overload;
 
Public function play(ensureBass: bool = true): bool;
 
Public function playEx(position: int; flags: DWORD = BASS_MUSIC_SURROUND; reset: bool = true): bool; overload;
 
Public function playEx(row, order: DWORD; flags: DWORD = BASS_MUSIC_SURROUND; reset: bool = false): bool; overload;
 
Public function preBuf(len: DWORD = 0): bool;
 
Public function set_ampLevel(amp: DWORD): bool;
 
Public function set_channelVol(channel, volume: DWORD): bool;
 
Public function set_panSeparation(pan: DWORD): bool;
 
Public function set_positionScaler(scale: DWORD): bool;
 
Protected function supportsDSP(): bool; override;
 
Protected procedure freeResources(); override;
 
Protected procedure music_free();
 
Protected procedure setHandle(value: DWORD); override;
 

(c) 2012 Lake of Soft


Generated by PasDoc 0.12.1 on 2012-10-09