Author Topic: Bass Addon for Winamp Input plugins  (Read 52936 times)

Svante

  • Posts: 296
Re:Bass Addon for Winamp Input plugins
« Reply #25 on: 17 Jun '04 - 18:56 »
Do you mean bug reports for the DLL or for the examples?

The MIDI unloading is because if the output system isn't used for some seconds (you can set a value) it will "time-out".

And the MP4 thing, try my VB example and see if it works...
« Last Edit: 17 Jun '04 - 18:57 by Svante »

Sebastian_Mares

  • Guest
Re:Bass Addon for Winamp Input plugins
« Reply #26 on: 17 Jun '04 - 19:05 »
The bugs above apply to the DLL. Sorry for the inconvenience.

Sebastian_Mares

  • Guest
Re:Bass Addon for Winamp Input plugins
« Reply #27 on: 17 Jun '04 - 19:05 »
Actually, it seems that all files skip. :(

I have an Intel Pentium 4 HT with 3.06 GHz and 512 MB-RAM.

Edit: FLAC, APE, WavPack, OptimFrog, OptimFrog Dual Stream, Speex, MusePack and LPAC operate correctly (except for the skips/clicks).
« Last Edit: 17 Jun '04 - 19:15 by Sebastian Mares »

Irrational86

  • Posts: 960
Re:Bass Addon for Winamp Input plugins
« Reply #28 on: 17 Jun '04 - 20:12 »
Sebastian, I have sent you an update through e-mail, which should have a slight speed up, Svante, I will send just now to you too...

Sebastian_Mares

  • Guest
Re:Bass Addon for Winamp Input plugins
« Reply #29 on: 17 Jun '04 - 20:48 »
Thanks, I sent you a wonderful Pink Floyd sample ( ;D ) as MP4 for testing.

Sebastian_Mares

  • Guest
Re:Bass Addon for Winamp Input plugins
« Reply #30 on: 17 Jun '04 - 20:49 »
Even with the new version, skips/clicks still occur (all formats). :(

Irrational86

  • Posts: 960
Re:Bass Addon for Winamp Input plugins
« Reply #31 on: 17 Jun '04 - 21:13 »
What is the BUFFER size you have Bass set at? Note that the amount of data that BassWinamp will buffer is the same as set in Bass. Making it a big number, like 5 seconds will slow you computer down drastically (at least on mine), but something like 1 second, or maybe even 0.5sec with a high update period will maintain a contant playback. It runs as described in my machine, which is 1ghz PIII with 768mb ram and a SB Live Value! running WinXP

RevG

  • Posts: 454
Re:Bass Addon for Winamp Input plugins
« Reply #32 on: 17 Jun '04 - 21:15 »
I'll give it a shot.

greg_ellis@hotmail.com

Sebastian_Mares

  • Guest
Re:Bass Addon for Winamp Input plugins
« Reply #33 on: 17 Jun '04 - 21:17 »
I am using the Delphi EXE you provided. You know best which buffer you set. :)

Svante

  • Posts: 296
Re:Bass Addon for Winamp Input plugins
« Reply #34 on: 18 Jun '04 - 09:10 »
I forgot to say that there is a bug in the VB-module header, in the declaration for the function BASS_Winamp_FindPlugins there is a reference to the library bass_vis.dll which should be bass_winamp.dll

And the constant BASS_CTYPE_STREAM_WINAMP has a ; after the declaration which also causes an error in VB

These two things need to be changed in the module

Sebastian Andersson

  • Posts: 372
Re:Bass Addon for Winamp Input plugins
« Reply #35 on: 18 Jun '04 - 11:16 »
I've already changed that, and the VB example works pretty well. :)

Spike

  • Guest
Re:Bass Addon for Winamp Input plugins
« Reply #36 on: 18 Jun '04 - 11:19 »
tested it,worked like a charm,no skips during playback,the only 'problem' i have is that i cant get the current position of files when i use an input plugin,not with the supplied delphi example or my own program

3delite

  • Posts: 904
Re:Bass Addon for Winamp Input plugins
« Reply #37 on: 18 Jun '04 - 16:30 »
tested it,worked like a charm,no skips during playback,the only 'problem' i have is that i cant get the current position of files when i use an input plugin,not with the supplied delphi example or my own program

Same problem here.  :(
Great work btw!  ;D

Irrational86

  • Posts: 960
Re:Bass Addon for Winamp Input plugins
« Reply #38 on: 18 Jun '04 - 16:39 »
I forgot to say that there is a bug in the VB-module header, in the declaration for the function BASS_Winamp_FindPlugins there is a reference to the library bass_vis.dll which should be bass_winamp.dll

And the constant BASS_CTYPE_STREAM_WINAMP has a ; after the declaration which also causes an error in VB

These two things need to be changed in the module
Thanks, both fixed here...

tested it,worked like a charm,no skips during playback,the only 'problem' i have is that i cant get the current position of files when i use an input plugin,not with the supplied delphi example or my own program
Same problem here.  :(
Great work btw!  ;D
Thanks for the good comments, about the position, I have to send both of you the latest update, it should give the right position, but maybe not the Length, please try it out.

Spike, I need your e-mail

Spike

  • Guest
Re:Bass Addon for Winamp Input plugins
« Reply #39 on: 18 Jun '04 - 18:27 »
Spikesx2@hotmail.com  8) , i really should register on this forum

Svante

  • Posts: 296
Re:Bass Addon for Winamp Input plugins
« Reply #40 on: 19 Jun '04 - 19:51 »
The file-info dialogs in Winamp, are they in the plugins or built in in Winamp.

If they are in the plugins then it would be cool to have a function BASS_Winamp_ShowFileInfo.

Sebastian_Mares

  • Guest
Re:Bass Addon for Winamp Input plugins
« Reply #41 on: 19 Jun '04 - 22:20 »
They're in the plugins. ;)

Irrational86

  • Posts: 960
Re:Bass Addon for Winamp Input plugins
« Reply #42 on: 20 Jun '04 - 08:21 »
The file-info dialogs in Winamp, are they in the plugins or built in in Winamp.

If they are in the plugins then it would be cool to have a function BASS_Winamp_ShowFileInfo.

Thanks Svante, totally forgot about this one too...on my way!

Svante

  • Posts: 296
Re:Bass Addon for Winamp Input plugins
« Reply #43 on: 20 Jun '04 - 18:43 »
It seems like there are some sort of equalizer in some of the plugins, could that be used in Bass Winamp.

Also the variable bitrate display would be cool if it could be get by a function.

Irrational86

  • Posts: 960
Re:Bass Addon for Winamp Input plugins
« Reply #44 on: 20 Jun '04 - 18:51 »
I like that, a callback maybe, check this thread out,
https://www.un4seen.com/forum/?board=1;action=display;threadid=2886

3delite

  • Posts: 904
Re:Bass Addon for Winamp Input plugins
« Reply #45 on: 20 Jun '04 - 20:19 »
Thanks for the good comments, about the position, I have to send both of you the latest update, it should give the right position, but maybe not the Length, please try it out.

The position seems to be behind a bit, but it's there at least.  :)
Tested with FLAC input plugin and an Oktalyzer mod.

Svante

  • Posts: 296
Re:Bass Addon for Winamp Input plugins
« Reply #46 on: 26 Jun '04 - 15:41 »
I've done a wrapper for the getfileinfo function, and also updated the example to get the title and the length, please update the package:

http://upl.silentwhisper.net/uplfolders/upload6/BWExample.zip

Irrational86

  • Posts: 960
Re:Bass Addon for Winamp Input plugins
« Reply #47 on: 26 Jun '04 - 16:59 »
Thank you Svante, the package has been updated.

Svante

  • Posts: 296
Re:Bass Addon for Winamp Input plugins
« Reply #48 on: 26 Jun '04 - 18:44 »
In my package there were also an updated BassWinamp.bas with the wrapper function that needs to be in the package, otherwise the getinfo function will not work...

Another thing: It would be better if the fileinfo dialog function could choose which plugin to use, like the streamcreate function.
Otherwise you have to get all extensions from all plugins and then choose which one to use...
« Last Edit: 26 Jun '04 - 19:18 by Svante »

Irrational86

  • Posts: 960
Re:Bass Addon for Winamp Input plugins
« Reply #49 on: 26 Jun '04 - 19:51 »
In my package there were also an updated BassWinamp.bas with the wrapper function that needs to be in the package, otherwise the getinfo function will not work...
Ok, your wrapper has been put in place of mine.

Another thing: It would be better if the fileinfo dialog function could choose which plugin to use, like the streamcreate function.
Otherwise you have to get all extensions from all plugins and then choose which one to use...
This is done...

Also, someone (I think it was you) made a request to add a callback or something similar when the bitrate was changed. It has been made, but using Syncs. Use the BASS_WINAMP_SYNC_BITRATE flag as a sync, and when the bitrate is retrieved, or changed (VBR MP3s, OGGs, etc) the function is called.
Please give this a try and let me know if it works correctly.

Thank you...the package has been updated