English
Forum

Done: Plugins bass.dll

 

Dieter
Zornow
I try me straight on the bass.dll, so far works too everything, but with the Plugins functions not.
I use The Plugin-interface the dll
Var x& = BASS_PluginLoad("bassflac.dll", 0)
print "handle", x&," "
var y& = BASS_PluginGetInfo(x&)," "
print "Info",y&," "

with this code sustain I a handle or. Pointer, should means worked having. but then with
BASS_StreamCreateFile(0,addr(file$),0,0,$4) sustain I -1 as Error Message even if I the special appeal the
Plugins use comes -1, though it with the general method weg ought to.
MP3-Files walk always but the Sonderformate not.
has already someone so experience made ?
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
01/23/10  
 




Andreas
Miethe


Hello Dieter,

habs straight ausprobiert, the following works by me without Problems.
Var Bass& = ImportDll("Bass.dll","")
Var Flac& = ImportDll("bassflac.dll","")
cls
BASS_Init(-1,44100,0,0,0)
Var File$ = "G4-9.flac"
Var hStream& = BASS_FLAC_StreamCreateFile(0,ADDR(File$),0,0,0)
BASS_ChannelPlay(hStream&,0)
waitinput
BASS_Free(0)
FreeDll Bass&
FreeDll Flac&
 
Gruss
Andreas
________ ________ ________ ________ _
Profan 3.3 - XProfanX2
Win 95,98,ME,2000,XP,Vista - Win 7 32 / 64 Bit
ASUS X93S - Intel Core I7-NVIDIA GForce 540M 8GB Arbeitsspeicher
Homepage :  [...] 
01/24/10  
 




Dieter
Zornow
Hello Andreas,

thanks, but the functions by me unfortunately neither, what version of Windows you use and what dll ?
I have XP and use The Version 2.44, have but straight seen, that it 2.45 gives, time with the try. Perhaps works then too as plugin
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
01/24/10  
 




Andreas
Miethe


Hello Dieter,

I have another Version 2.3 the bass.dll or. Bassflac.dll. with the neueren Verion 2.4 functions it by me neither More. The Calling the functions has not changed, means becomes well something with whom Dlls schieflaufen.
 
Gruss
Andreas
________ ________ ________ ________ _
Profan 3.3 - XProfanX2
Win 95,98,ME,2000,XP,Vista - Win 7 32 / 64 Bit
ASUS X93S - Intel Core I7-NVIDIA GForce 540M 8GB Arbeitsspeicher
Homepage :  [...] 
01/24/10  
 




Andreas
Miethe


Hello Dieter,

have whom Errors in the code found. The function BASS_StreamCreateFile expects at 3. and 4. Paremeter one Quad means 64bit instead of 32bit. with Version 2.3 was is only one Longint !

so functions it with Version 2.4,
Var Bass& = ImportDll("Bass.dll","")
cls
Print BASS_Init(-1,44100,0,0,0)
Var hPugin& = BASS_PluginLoad("bassflac.dll",0)
Var hStream& = BASS_StreamCreateFile(0,"Herrchol.flac",0,0,0,0,0)
Print hStream&
BASS_ChannelPlay(hStream&,0)
waitinput
BASS_Free(0)
BASS_PluginFree(hPugin&)
FreeDll Bass&
 
Gruss
Andreas
________ ________ ________ ________ _
Profan 3.3 - XProfanX2
Win 95,98,ME,2000,XP,Vista - Win 7 32 / 64 Bit
ASUS X93S - Intel Core I7-NVIDIA GForce 540M 8GB Arbeitsspeicher
Homepage :  [...] 
01/24/10  
 




Dieter
Zornow
Hello Andreas,

thanks super, the functions by me too. the QWord shining itself but only on The plugins auszuwirken, because MP3 becomes without Problems too so abgespielt. because it I went there was of the opinion, The Plugins would be the too to accept, must times the others Plugins ditto try.
QWord would something for XProfan 12
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
01/24/10  
 




Andreas
Miethe


Dieter Zornow, Beitrag=55911, Zeitpunkt=24.01.2010
Hello Andreas,

thanks super, the functions by me too. the QWord shining itself but only on The plugins auszuwirken, because MP3 becomes without Problems too so abgespielt. because it I went there was of the opinion, The Plugins would be the too to accept, must times the others Plugins ditto try.
QWord would something for XProfan 12


I wealth its reiner chance, that it with you with MP3 works. by me functions not.
QWords becomes it well in the next XProfan-Version give
 
Gruss
Andreas
________ ________ ________ ________ _
Profan 3.3 - XProfanX2
Win 95,98,ME,2000,XP,Vista - Win 7 32 / 64 Bit
ASUS X93S - Intel Core I7-NVIDIA GForce 540M 8GB Arbeitsspeicher
Homepage :  [...] 
01/24/10  
 



Float is still QWord or GEHTS circa unsigneds?!
 
01/24/10  
 




Andreas
Miethe


here goes circa 64bit signed Integers, not circa Fliesskommawerte.
 
Gruss
Andreas
________ ________ ________ ________ _
Profan 3.3 - XProfanX2
Win 95,98,ME,2000,XP,Vista - Win 7 32 / 64 Bit
ASUS X93S - Intel Core I7-NVIDIA GForce 540M 8GB Arbeitsspeicher
Homepage :  [...] 
01/24/10  
 



Ah, everything clear!
 
01/24/10  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

10.501 Views

Untitledvor 0 min.
Tango08/17/19
Torsten Boo07/12/18
Peter Max Müller12/19/17
RICOSCH01/20/16
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie