22 May '13 - 16:16 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  Developments / BASS / List supported extensions on: 24 Jan '13 - 01:10
Hi,

how can i list all supported extensions by libbass.so (like using BASS_PLUGINFORM for addons)?

Thanx Smiley
ReplyReply Reply with quoteQuote
2  Developments / BASS / Re: BASS for ARM Linux on: 23 Jan '13 - 22:55
Hey Ian,

plugins works fine, thanx. Whats about BASS_TAG for Linux / Android / ARM (PI)? Would it be possible? Smiley
ReplyReply Reply with quoteQuote
3  Developments / BASS / Re: BASS for ARM Linux on: 10 Dec '12 - 17:31
Ape and Alac if you can would be great, other addons are welcome to, but not so important (for me). A player with more supported Formats is better than a player with less. Wink
ReplyReply Reply with quoteQuote
4  Developments / BASS / Re: BASS for ARM Linux on: 8 Dec '12 - 08:22
Hi Ian,

got my RPi yesterday. BASS works fine with it. Now we need more Addons. Wink
ReplyReply Reply with quoteQuote
5  Developments / BASS / Re: Binding non-static c++ procs? on: 31 Jul '12 - 17:20
D'OH!

Yes, it was garbage collected. -,-'

I had to make my callback persistent, so now all works fine. Smiley
ReplyReply Reply with quoteQuote
6  Developments / BASS / Re: Binding non-static c++ procs? on: 30 Jul '12 - 18:29
Hi Ian,

the node.js bindings are written in c++, (like JAVA VM bindings too, in .NET i forgot you can bind directly from .NET without extra c++ code), so i need to find a solution in c++. I have tried a similar solution like in topic 1184 without an extra class, i just gave the js callback directly to the BASS_SetSyncPRoc as the user parameter, but the call inside the syncproc crashes Node.js with a segmentation fault (memory snapsnots) error (like in your example in topic 1184 too). :/
ReplyReply Reply with quoteQuote
7  Developments / BASS / Binding non-static c++ procs? on: 28 Jul '12 - 17:11
Hi!

I have a new problem binding BASS to Node.js. I already have bound some functions, and everything works fine. Now i'm trying to implement the proc functionality, and here i stuck now. While Bass is written in C, Node.js extensions are going to be written in c++. Additionaly i need to wrap all javascript callbacks in my own class to get methods with single parameteres instead of args arrays (that are used to call the javascript callbacks in c++).

But now, how can i use c++ non-static class methods from object instances as callback procs for BASS? I already have tried std::function and std::bind, but my compiler won't cast from function<...> to (*ptr). Is there a special way to do this?

Ian, do you maybe have information about how the .NET Bindings solve this problem?

Thank you! Smiley
ReplyReply Reply with quoteQuote
8  Developments / BASS / Re: BASS_PluginLoad can't open Plugins? on: 27 Jul '12 - 12:59
Hi Ian!

I have forgotten to check dlerror. It says:

/usr/local/lib/libbassflac.so: undefined symbol: BASS_GetVersion

I am using Ubuntu Linux 64bit with the lastest version of bass. Tried now to load BASS_GetVersion via LOADBASSFUNCTION, but it doesn't helped.

After loading BASS_GetVersion via LOADBASSFUNCTION a call returns 33818880. But shouldn't it return something like 0204090X for version 2.4.9.X?

Och... edit:

Found the solution. libbass.so must be loaded with RTLD_NOW | RTLD_GLOBAL instead of RTLD_LAZY. Now the plugins also works fine. Smiley
ReplyReply Reply with quoteQuote
9  Developments / BASS / BASS_PluginLoad can't open Plugins? on: 27 Jul '12 - 06:13
Hi!

Actually i am trying to wrap bass for node.js. Atm i have a problem with BASS_PluginLoad. It throws BASS_ERROR_FILEOPEN on every plugin i try to load. I have the bass library with all plugins in /usr/local/lib. I am loading the libbass.so the same way as in android (via dlopen and BASSDEF/LOADBASSFUNCTION), then the plugins via BASS_PluginLoad.

For some reason node.js crashes with a segmentation fault when i try to load the AAC, AC3 or MIDI plugin. Loading the plugins via dlopen fails likewise, loading from an other location too.

So what's wrong there? Is it a bass problem oder rather a node.js?

Thank you. Wink
ReplyReply Reply with quoteQuote
10  Developments / BASS / Verify EAC CRC? on: 8 Jul '12 - 23:09
Hi!

Is there a way to verify EAC CRC using Bass? Afaik EAC generates a CRC of the pure stream without the wave headers, so how can i do this using the Bass lib?

Thanx you Smiley
ReplyReply Reply with quoteQuote
11  Developments / BASS / BASS for ARM Linux on: 22 May '12 - 20:48
Hi Ian!

What about Plugins for ARM? I also would like to buy a Raspberry PI and run my Player on it (together with my NAS). FLAC and APE would be nice.

Thanx! Wink

Edit: Och, is see, modell b isnt released yet, didn't say anything... Wink
ReplyReply Reply with quoteQuote
12  Developments / BASS / Re: BASS for Android on: 3 Apr '12 - 00:09
Ian, do you have some plans to port Tags to other platforms? Or why is it only available for Windows? Smiley
ReplyReply Reply with quoteQuote
13  Developments / BASS / Re: BASS for Android on: 20 Mar '12 - 02:46
So, got an account now! Smiley

The methods i am using:

BASS_StreamCreateFile
BASS_Init
BASS_ChannelBytes2Seconds
BASS_ChannelGetLength
BASS_ChannelGetPosition
BASS_ChannelGetInfo
BASS_ChannelGetData
BASS_ChannelIsActive
BASS_StreamFree
BASS_ChannelSeconds2Bytes
BASS_ChannelSetPosition
BASS_ChannelStop
BASS_StreamCreate
BASS_ChannelPlay
BASS_ChannelPause
BASS_SetConfig
BASS_PluginLoad
BASS_ChannelSetAttribute
BASS_ChannelRemoveFX
BASS_ChannelSetFX
BASS_FXSetParameters

Config: only BASS_CONFIG_DEV_BUFFER for testing.

Callbacks: STREAMPROC with BASS_StreamCreate, other Callbacks are JNI Callbacks used for updating infos like current play time, etc...

Removing them doesn't make any difference. Even this simple code stutters...:

BASS_Init(-1,44100,0,NULL,NULL);
char *file = "/sdcard/music/file_to_play.mp3";
HSTREAM stream = BASS_StreamCreateFile(FALSE, file, 0, 0, 0);
BASS_ChannelPlay(stream, FALSE);

A debug version would be nice.

Edit: Uhh, the whole playback stopped after switching two apps... Oo
ReplyReply Reply with quoteQuote
Pages: [1]
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines