FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   xbass.dll - Music plugin (https://fileforums.com/showthread.php?t=103859)

BLACKFIRE69 03-10-2020 15:54

xbass.dll - Music plugin
 
3 Attachment(s)
xbass - Music plugin


_

BLACKFIRE69 04-10-2020 04:08

xbass - New Update
 
3 Attachment(s)
xbass - New Update


What's New:
  • Some improvements.
  • Added new example.



_

Balaji007 22-10-2020 04:59

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

Ele 20-01-2021 06:23

xbass.dll v2.0
 
2 Attachment(s)
Quote:

Originally Posted by Balaji007 (Post 488453)
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

It could be. So try the new version (v.2.0) of the xbass.dll. That's all you need.

(xbass.dll v2.0 requires "inno setup enhanced edition")


xbass.dll v2.0
Quote:

function MusicOpenFile(handle: hwnd; title: widestring; defaultPath: widestring): widestring; external '[email protected]:xbass.dll stdcall';

procedure InitMusic(filename: widestring; RepeatOn: boolean); external '[email protected]:xbass.dll stdcall';
procedure PlayMusic; external '[email protected]:xbass.dll stdcall';
procedure PauseMusic; external '[email protected]:xbass.dll stdcall';
procedure ResumeMusic; external '[email protected]:xbass.dll stdcall';
procedure StopMusic; external '[email protected]:xbass.dll stdcall';
procedure SetVolume(vol: integer); external '[email protected]:xbass.dll stdcall';
function MusicPct: integer; external '[email protected]:xbass.dll stdcall';
function MusicPosition: widestring; external '[email protected]:xbass.dll stdcall';
function MusicDuration: widestring; external '[email protected]:xbass.dll stdcall';
procedure DeInitMusic; external '[email protected]:xbass.dll stdcall';

information:

Ele 22-01-2021 11:16

xbass.dll v3.0
 
2 Attachment(s)
xbass.dll v3.0

Features:
Quote:

  • Audio plugins updated.
  • Supports "*.mp3, *.ogg, *.wav".
  • Supports seek forward and seek backward.
  • Added in built-in timer.
  • Tested in Inno setup 6.x.x Unicode.


Quote:

function MusicOpenFile(handle: HWND; defaultPath: widestring): widestring;
function XSetTimer(handle: HWND; Interval: longword; lpTimerFunc: longword): Cardinal;
function XKillTimer(handle: HWND; TimerId: Cardinal): boolean;
function XWrap(Callback: TTimerProc; Paramcount: integer): longword;

procedure InitMusic(handle: HWND; filename: widestring; volume: integer; RepeatOn: boolean);
procedure MusicPlay;
procedure MusicPause;
procedure MusicResume;
procedure MusicStop;
procedure MusicSetVolume(vol: integer);
function MusicPct: integer;
function MusicPosition: widestring;
function MusicDuration: widestring;
procedure MusicForward(sec: integer);
procedure MusicBackward(sec: integer);
procedure DeInitMusic;

Details:


All times are GMT -7. The time now is 13:55.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Copyright 2000-2020, FileForums @ https://fileforums.com