![]() ![]() ![]() Example for AmpPlayer (see screenshot) PrototypeC pAmp_MusicBox(File$, Flags.l=1)ĭefine *DLL = LoadLibrary_( "AmpMaster_x86.dll")ĭefine Amp_Player. The very short-term API documentation explains further functions. All audio-formats can be converted to mp3 and wave-format, only if used in_plugin-player supports an out_dll. All supported in_libs, out_libs, drivers, examples ready to use with PureBasic and also a couple of media-formats included. Supports 88 Winamp play-engines and 944+ media-formats. Unit to play multiple media-formats based on in & out plugins for Winamp / Purebasic v5.44 XIncludeFile ".\Include\C2D_Module.pbi" #C2D_G = 0 XIncludeFile ".\Include\C2D_Defaults.pbi" EndDeclareModule Unfortunately, some antivirus tools are more or less sensitive with a false/true heuristic, to avoid wrong, unfounded and annoiying messages, unpack the archive to a folder with an exception. In addition to a German manual many examples and tools were attached (source + compiled). In order to compile the output files as small as possible, compiler instructions must manually unlock the respective effects with a #IsC2D_ effect constant. In addition, the integration of the SCAL DLL and different static sound-libs supports various music formats, also the support of various un/pack formats: PowerPacker (PP20/PX20), FileImploder, XPK, Ice, Atomik, LZMA, ZIP, BZip2, JCalG1, aPLib, access to network files, customizable intuition and much more. Module to create some graphics effects on the CanvasGadget only / Purebasic v5.40 – v6.00Ĭanvas2D (C2D) is a Purebasic Module with which graphic effects are displayed on the CanvasGadget (no screen, no sprites). MessageRequester( "Error", "Unknown fileformat!")ĬloseLibrary(0) Download: SCAL_210.rar v2.10 (x86-64) + Source & Binary - 1.54 MB If CallFunction(0, "SCAL_Info", #PB_MessageRequester_YesNo) #PB_MessageRequester_Yes Break ![]() If Len(File$) = 0 : Break : EndIf If CallFunction(0, "SCAL_Play", -1, 0, 0) Example in Purebasic CompilerIf #PB_Compiler_Processor = #PB_Processor_x86 #DLL_NAME$ = "SCAL_x86.dll" 1071 formats CompilerElse #DLL_NAME$ = "SCAL_圆4.dll" 424 formats CompilerEndIf If OpenLibrary(0, #DLL_NAME$) = #Null MessageRequester( "Error", "Cannot open " + #DLL_NAME$)įile$ = OpenFileRequester( "Mediafile", File$, "All files (*.*)|*.*", 0) It needs one command only to playback a mediafile: SCAL_Play. Each engine uses its own decoder, it is worth trying out which offers the highest sound quality and which support a used mediaformat. SCAL uses the Windows MultiMedia drivers and a lot of include libs, so there is no guarantee that every media is playing back as expected. This is also the reason why the engine-modes are set with the #XMU_ constant. Due to the time-consuming test phases, a quick switch between the respective music libs and the processors (x86/圆4) was required. der „Schall“) – The SCAL dll was not a planned library, it arose over time while programming Canvas2D and developing related examples, demos and tools. SCAL is old-germanic dialect and means „sound“ (scal = Ahd. A simple and easy to use library to playback a variety of (1071 / 424) media formats / Purebasic v5.72 – v6.00 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |