Description | Hierarchy | Fields | Methods | Properties |
type unaBassMusic = class(unaBassConsumer)
Provides interface for BASS module music support. Requires BASS library (bass.dll)
function get_ampLevel(): DWORD; |
|
function get_channelVol(channel: DWORD): int; |
|
function get_length(playlen: bool = true): QWORD; |
|
function get_name(): string; |
|
function get_panSeparation(): DWORD; |
|
function load(buf: pointer; len: DWORD; flags: DWORD = 0): bool; overload; |
|
function load(const fileName: wString; offset: DWORD = 0; maxLength: DWORD = 0; flags: DWORD = 0): bool; overload; |
|
function play(ensureBass: bool = true): bool; |
|
function playEx(position: int; flags: DWORD = BASS_MUSIC_SURROUND; reset: bool = true): bool; overload; |
|
function playEx(row, order: DWORD; flags: DWORD = BASS_MUSIC_SURROUND; reset: bool = false): bool; overload; |
|
function preBuf(len: DWORD = 0): bool; |
|
function set_ampLevel(amp: DWORD): bool; |
|
function set_channelVol(channel, volume: DWORD): bool; |
|
function set_panSeparation(pan: DWORD): bool; |
|
function set_positionScaler(scale: DWORD): bool; |
|
function supportsDSP(): bool; override; |
|
procedure freeResources(); override; |
|
procedure music_free(); |
|
procedure setHandle(value: DWORD); override; |
function get_ampLevel(): DWORD; |
|
function get_channelVol(channel: DWORD): int; |
|
function get_length(playlen: bool = true): QWORD; |
|
function get_name(): string; |
|
function get_panSeparation(): DWORD; |
|
function load(buf: pointer; len: DWORD; flags: DWORD = 0): bool; overload; |
|
function load(const fileName: wString; offset: DWORD = 0; maxLength: DWORD = 0; flags: DWORD = 0): bool; overload; |
|
function play(ensureBass: bool = true): bool; |
|
function playEx(position: int; flags: DWORD = BASS_MUSIC_SURROUND; reset: bool = true): bool; overload; |
|
function playEx(row, order: DWORD; flags: DWORD = BASS_MUSIC_SURROUND; reset: bool = false): bool; overload; |
|
function preBuf(len: DWORD = 0): bool; |
|
function set_ampLevel(amp: DWORD): bool; |
|
function set_channelVol(channel, volume: DWORD): bool; |
|
function set_panSeparation(pan: DWORD): bool; |
|
function set_positionScaler(scale: DWORD): bool; |
|
function supportsDSP(): bool; override; |
|
procedure freeResources(); override; |
|
procedure music_free(); |
|
procedure setHandle(value: DWORD); override; |
|
(c) 2012 Lake of Soft