| |
|
|
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
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?! |
|
|
| |
|
|
|
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 ▲ |
|
|
|
|
| |
|
| |
|
|