|
|
|
#1
|
||||
|
||||
|
Hi friend
It is a simple doubt. I am trying with your example script. But it was played the song one time only. How repeat the song? Any solutions are available
__________________
If you will smile,You will live long Just like the haters,they are helping to improve your skills. |
| Sponsored Links |
|
#2
|
||||
|
||||
|
Quote:
(xbass.dll v2.0 requires "inno setup enhanced edition") xbass.dll v2.0 Quote:
information:
__________________
- All life is an experiment. The more experiments you make the better. - Last edited by Ele; 20-01-2021 at 06:26. |
|
#3
|
||||
|
||||
|
xbass.dll v3.0
Features: Quote:
Quote:
Details:
__________________
- All life is an experiment. The more experiments you make the better. - |
| The Following 4 Users Say Thank You to Ele For This Useful Post: | ||
|
#4
|
||||
|
||||
|
XBass Update Available!
Code:
TYPE 01:
type
TXBassCallback = procedure(Const FPct: Integer; Const FDuration, FPosition, FCurMusicFile: WideString);
type
IXBass = Interface(IUnknown)
'{3A515F05-FBAE-4D1E-80A0-808E6FAF3187}'
function FCreate(AHandle: HWND; AFilename: WideString; ASpeed: Single; RepeatOn: Boolean; ACallback: TXBassCallback): Boolean;
function FCreateList(AHandle: HWND; AFolder: WideString; ASpeed: Single; RepeatOn: Boolean; ACallback: TXBassCallback): Boolean;
procedure Play;
procedure Stop;
procedure Pause;
procedure Resume;
function IsPaused: Boolean;
procedure Next;
procedure Prev;
function ChangeDir(const AFolder: WideString): Boolean;
function ChangeFile(const AFilename: WideString): Boolean;
function GetPosition: WideString;
function GetDuration: WideString;
function GetPct: Integer;
function GetCurFile: WideString;
function GetVolume: Integer;
procedure SetVolume(Const Vol: Integer);
procedure SeekForward(Const Sec: Integer);
procedure SeekBackward(Const Sec: Integer);
procedure DoFree;
End;
function InitXBass: IXBass;
external 'InitXBass@files:xbass_f.dll stdcall';
function DeInitXBass: Boolean;
external 'DeInitXBass@files:xbass_f.dll stdcall';
Code:
TYPE 02: type TXBassCallback = procedure(Const FPct: Integer; Const FDuration, FPosition, FCurMusicFile: WideString); function xbassCreate(AHandle: HWND; AFilename: WideString; ASpeed: Single; RepeatOn: Boolean; ACallback: TXBassCallback): Boolean; function xbassCreateList(AHandle: HWND; AFolder: WideString; ASpeed: Single; RepeatOn: Boolean; ACallback: TXBassCallback): Boolean; procedure xbassPlay; procedure xbassStop; procedure xbassPause; procedure xbassResume; function xbaseeIsPaused: Boolean; procedure xbassNext; procedure xbassPrev; function xbassChangeDir(const AFolder: WideString): Boolean; function xbassChangeFile(const AFilename: WideString): Boolean; function xbassGetPosition: WideString; function xbassGetDuration: WideString; function xbassGetPct: Integer; function xbassGetCurFile: WideString; function xbassGetVolume: Integer; procedure xbassSetVolume(Const Vol: Integer); procedure xbassSeekForward(Const Sec: Integer); procedure xbassSeekBackward(Const Sec: Integer); procedure xbassFree; |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| QUERY: editing CloneCD images & best for game data & music CDs | andwan0 | CD/DVD Software & Utilities | 2 | 18-05-2009 18:13 |
| HELP: CloneCD+cuesheet games no music | dhruba.bandopadhyay | CD/DVD Copy Protections & Utilities | 1 | 07-10-2006 00:45 |
| srs soundtrack | mCrvn | Media Files | 0 | 14-06-2005 11:44 |
| problems finding game music | Waffle King | PS2 Games | 0 | 18-08-2003 07:51 |
| music but no music | felt | DC Games | 0 | 16-03-2001 15:34 |